summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-04-01 15:39:21 +0400
committerAvi Kivity <avi@redhat.com>2010-05-17 13:17:22 +0400
commit647dc49eebad2c30f823cae2bd8204b66c739f9c (patch)
treef968fd43cc73609d1bc401483e8f0785aa4ac400
parent05b0ab1c0bb526ac1056bab356ee92cfd6daa6fd (diff)
downloadlinux-647dc49eebad2c30f823cae2bd8204b66c739f9c.tar.xz
KVM: Document replacements for KVM_EXIT_HYPERCALL
Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r--Documentation/kvm/api.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/kvm/api.txt b/Documentation/kvm/api.txt
index 6f362356e738..baa8fde8bd16 100644
--- a/Documentation/kvm/api.txt
+++ b/Documentation/kvm/api.txt
@@ -974,7 +974,9 @@ pending operations.
__u32 pad;
} hypercall;
-Unused.
+Unused. This was once used for 'hypercall to userspace'. To implement
+such functionality, use KVM_EXIT_IO (x86) or KVM_EXIT_MMIO (all except s390).
+Note KVM_EXIT_IO is significantly faster than KVM_EXIT_MMIO.
/* KVM_EXIT_TPR_ACCESS */
struct {