diff options
author | Alexander Graf <agraf@suse.de> | 2011-08-08 10:08:55 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-09-25 12:52:19 -0400 |
commit | 9432ba6015371f186926cd62e2395718217a17a1 (patch) | |
tree | 884240483921ed3514e0bff212cbad2c394636f8 /arch/powerpc/include | |
parent | db507c300ed6ce6e9fc71d4e19975d5abe01a7de (diff) |
KVM: PPC: Add papr_enabled flag
When running a PAPR guest, some things change. The privilege level drops
from hypervisor to supervisor, SDR1 gets treated differently and we interpret
hypercalls. For bisectability sake, add the flag now, but only enable it when
all the support code is there.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h index cc22b282d755..e6813021126d 100644 --- a/arch/powerpc/include/asm/kvm_host.h +++ b/arch/powerpc/include/asm/kvm_host.h | |||
@@ -389,6 +389,7 @@ struct kvm_vcpu_arch { | |||
389 | u8 dcr_is_write; | 389 | u8 dcr_is_write; |
390 | u8 osi_needed; | 390 | u8 osi_needed; |
391 | u8 osi_enabled; | 391 | u8 osi_enabled; |
392 | u8 papr_enabled; | ||
392 | u8 hcall_needed; | 393 | u8 hcall_needed; |
393 | 394 | ||
394 | u32 cpr0_cfgaddr; /* holds the last set cpr0_cfgaddr */ | 395 | u32 cpr0_cfgaddr; /* holds the last set cpr0_cfgaddr */ |