summaryrefslogtreecommitdiffstats
path: root/include/linux/kvm_para.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-07-29 14:47:48 +0200
committerAvi Kivity <avi@redhat.com>2010-10-24 10:50:45 +0200
commit2a342ed57756ad5d8af5456959433884367e5ab2 (patch)
treebb3f1d707916bc53f48919ace0d0f757c7e2083b /include/linux/kvm_para.h
parenta73a9599e03eef1324d5aeecaebc1b339d2e1664 (diff)
downloadop-kernel-dev-2a342ed57756ad5d8af5456959433884367e5ab2.zip
op-kernel-dev-2a342ed57756ad5d8af5456959433884367e5ab2.tar.gz
KVM: PPC: Implement hypervisor interface
To communicate with KVM directly we need to plumb some sort of interface between the guest and KVM. Usually those interfaces use hypercalls. This hypercall implementation is described in the last patch of the series in a special documentation file. Please read that for further information. This patch implements stubs to handle KVM PPC hypercalls on the host and guest side alike. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/linux/kvm_para.h')
-rw-r--r--include/linux/kvm_para.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kvm_para.h b/include/linux/kvm_para.h
index d731092..3b8080e 100644
--- a/include/linux/kvm_para.h
+++ b/include/linux/kvm_para.h
@@ -17,6 +17,7 @@
#define KVM_HC_VAPIC_POLL_IRQ 1
#define KVM_HC_MMU_OP 2
+#define KVM_HC_FEATURES 3
/*
* hypercalls use architecture specific
OpenPOWER on IntegriCloud