Skip to content

Commit 647dc49

Browse files
committed
KVM: Document replacements for KVM_EXIT_HYPERCALL
Signed-off-by: Avi Kivity <[email protected]>
1 parent 05b0ab1 commit 647dc49

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Documentation/kvm/api.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,9 @@ pending operations.
974974
__u32 pad;
975975
} hypercall;
976976

977-
Unused.
977+
Unused. This was once used for 'hypercall to userspace'. To implement
978+
such functionality, use KVM_EXIT_IO (x86) or KVM_EXIT_MMIO (all except s390).
979+
Note KVM_EXIT_IO is significantly faster than KVM_EXIT_MMIO.
978980

979981
/* KVM_EXIT_TPR_ACCESS */
980982
struct {

0 commit comments

Comments
 (0)