diff options
author | Alexander Graf <agraf@suse.de> | 2011-08-08 17:17:09 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-09-25 19:52:23 +0300 |
commit | a15bd354f083f20f257db450488db52ac27df439 (patch) | |
tree | 06d382a5fd5a4811c00deeda261eca70975c445e /include/linux/kvm.h | |
parent | 77e675ad825d1106f973afd353e8af84cd8d3960 (diff) | |
download | op-kernel-dev-a15bd354f083f20f257db450488db52ac27df439.zip op-kernel-dev-a15bd354f083f20f257db450488db52ac27df439.tar.gz |
KVM: PPC: Add support for explicit HIOR setting
Until now, we always set HIOR based on the PVR, but this is just wrong.
Instead, we should be setting HIOR explicitly, so user space can decide
what the initial HIOR value is - just like on real hardware.
We keep the old PVR based way around for backwards compatibility, but
once user space uses the SREGS based method, we drop the PVR logic.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/linux/kvm.h')
-rw-r--r-- | include/linux/kvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h index 2069798..490b041 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h @@ -554,6 +554,7 @@ struct kvm_ppc_pvinfo { #define KVM_CAP_PPC_SMT 64 #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_S390_GMAP 71 #ifdef KVM_CAP_IRQ_ROUTING |