aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-07-29 08:47:53 -0400
committerAvi Kivity <avi@redhat.com>2010-10-24 04:50:46 -0400
commitbeb03f14da9ceff76ff08cbb8af064b52dc21f7e (patch)
treece5d3101f275c6006c8c695e07416cd6357f815c /arch/powerpc/include/asm/kvm_host.h
parent28e83b4fa7f8bd114940fa933ac8cbe80969eba2 (diff)
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/include/asm/kvm_host.h')
-rw-r--r--arch/powerpc/include/asm/kvm_host.h2
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 {
287 u64 dec_jiffies; 287 u64 dec_jiffies;
288 unsigned long pending_exceptions; 288 unsigned long pending_exceptions;
289 struct kvm_vcpu_arch_shared *shared; 289 struct kvm_vcpu_arch_shared *shared;
290 unsigned long magic_page_pa; /* phys addr to map the magic page to */
291 unsigned long magic_page_ea; /* effect. addr to map the magic page to */
290 292
291#ifdef CONFIG_PPC_BOOK3S 293#ifdef CONFIG_PPC_BOOK3S
292 struct hlist_head hpte_hash_pte[HPTEG_HASH_NUM_PTE]; 294 struct hlist_head hpte_hash_pte[HPTEG_HASH_NUM_PTE];