summaryrefslogtreecommitdiffstats
path: root/Documentation/kvm
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-04-01 14:39:21 +0300
committerAvi Kivity <avi@redhat.com>2010-05-17 12:17:22 +0300
commit647dc49eebad2c30f823cae2bd8204b66c739f9c (patch)
treef968fd43cc73609d1bc401483e8f0785aa4ac400 /Documentation/kvm
parent05b0ab1c0bb526ac1056bab356ee92cfd6daa6fd (diff)
downloadop-kernel-dev-647dc49eebad2c30f823cae2bd8204b66c739f9c.zip
op-kernel-dev-647dc49eebad2c30f823cae2bd8204b66c739f9c.tar.gz
KVM: Document replacements for KVM_EXIT_HYPERCALL
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'Documentation/kvm')
-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 6f36235..baa8fde 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 {
OpenPOWER on IntegriCloud