diff options
author | Alexander Graf <agraf@suse.de> | 2010-07-29 12:47:55 (GMT) |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-10-24 08:50:49 (GMT) |
commit | 5fc87407b55f5799418f4dc5931232c2bc06d077 (patch) | |
tree | a4551597970f86783b53a02016387c89d1a5c703 /arch/powerpc/include/asm/kvm_para.h | |
parent | e8508940a88691ad3d1c46608cd968eb4be9cbc5 (diff) | |
download | linux-5fc87407b55f5799418f4dc5931232c2bc06d077.tar.xz |
KVM: PPC: Expose magic page support to guest
Now that we have the shared page in place and the MMU code knows about
the magic page, we can expose that capability to the guest!
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_para.h')
-rw-r--r-- | arch/powerpc/include/asm/kvm_para.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_para.h b/arch/powerpc/include/asm/kvm_para.h index 0653b0d..7438ab3 100644 --- a/arch/powerpc/include/asm/kvm_para.h +++ b/arch/powerpc/include/asm/kvm_para.h @@ -45,6 +45,8 @@ struct kvm_vcpu_arch_shared { #define HC_EV_SUCCESS 0 #define HC_EV_UNIMPLEMENTED 12 +#define KVM_FEATURE_MAGIC_PAGE 1 + #ifdef __KERNEL__ #ifdef CONFIG_KVM_GUEST |