diff options
author | Alexander Graf <agraf@suse.de> | 2010-07-29 14:47:53 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-10-24 10:50:46 +0200 |
commit | beb03f14da9ceff76ff08cbb8af064b52dc21f7e (patch) | |
tree | ce5d3101f275c6006c8c695e07416cd6357f815c /arch/powerpc | |
parent | 28e83b4fa7f8bd114940fa933ac8cbe80969eba2 (diff) | |
download | blackbird-op-linux-beb03f14da9ceff76ff08cbb8af064b52dc21f7e.tar.gz blackbird-op-linux-beb03f14da9ceff76ff08cbb8af064b52dc21f7e.zip |
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 'arch/powerpc')
-rw-r--r-- | arch/powerpc/include/asm/kvm_host.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h index 1674da8134cb..e1da77579e65 100644 --- a/arch/powerpc/include/asm/kvm_host.h +++ b/arch/powerpc/include/asm/kvm_host.h @@ -287,6 +287,8 @@ struct kvm_vcpu_arch { u64 dec_jiffies; unsigned long pending_exceptions; struct kvm_vcpu_arch_shared *shared; + unsigned long magic_page_pa; /* phys addr to map the magic page to */ + unsigned long magic_page_ea; /* effect. addr to map the magic page to */ #ifdef CONFIG_PPC_BOOK3S struct hlist_head hpte_hash_pte[HPTEG_HASH_NUM_PTE]; |