summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-08-08 17:29:42 +0200
committerAvi Kivity <avi@redhat.com>2011-09-25 18:52:26 +0200
commit930b412a005bde2ea3f05911eaaeeb10f11d79ab (patch)
treeaac017faf38837319a24fe9276e056fa6af1f4d8 /include
parentKVM: PPC: Support SC1 hypercalls for PAPR in PR mode (diff)
downloadlinux-930b412a005bde2ea3f05911eaaeeb10f11d79ab.tar.xz
linux-930b412a005bde2ea3f05911eaaeeb10f11d79ab.zip
KVM: PPC: Enable the PAPR CAP for Book3S
Now that Book3S PV mode can also run PAPR guests, we can add a PAPR cap and enable it for all Book3S targets. Enabling that CAP switches KVM into PAPR mode. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/kvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index 490b041aba45..68840544006d 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -555,6 +555,7 @@ struct kvm_ppc_pvinfo {
#define KVM_CAP_PPC_RMA 65
#define KVM_CAP_MAX_VCPUS 66 /* returns max vcpus per vm */
#define KVM_CAP_PPC_HIOR 67
+#define KVM_CAP_PPC_PAPR 68
#define KVM_CAP_S390_GMAP 71
#ifdef KVM_CAP_IRQ_ROUTING