summaryrefslogtreecommitdiffstats
path: root/include/linux/kvm_para.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-07-29 14:47:53 +0200
committerAvi Kivity <avi@redhat.com>2010-10-24 10:50:46 +0200
commitbeb03f14da9ceff76ff08cbb8af064b52dc21f7e (patch)
treece5d3101f275c6006c8c695e07416cd6357f815c /include/linux/kvm_para.h
parent28e83b4fa7f8bd114940fa933ac8cbe80969eba2 (diff)
downloadop-kernel-dev-beb03f14da9ceff76ff08cbb8af064b52dc21f7e.zip
op-kernel-dev-beb03f14da9ceff76ff08cbb8af064b52dc21f7e.tar.gz
KVM: PPC: First magic page steps
We will be introducing a method to project the shared page in guest context. As soon as we're talking about this coupling, the shared page is colled magic page. This patch introduces simple defines, so the follow-up patches are easier to read. 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 3b8080e..ac2015a 100644
--- a/include/linux/kvm_para.h
+++ b/include/linux/kvm_para.h
@@ -18,6 +18,7 @@
#define KVM_HC_VAPIC_POLL_IRQ 1
#define KVM_HC_MMU_OP 2
#define KVM_HC_FEATURES 3
+#define KVM_HC_PPC_MAP_MAGIC_PAGE 4
/*
* hypercalls use architecture specific
OpenPOWER on IntegriCloud