summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/kvm_ppc.h
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2011-06-14 23:34:41 (GMT)
committerAvi Kivity <avi@redhat.com>2011-07-12 10:16:37 (GMT)
commita4cd8b23ac5786943202c0174c717956947db43c (patch)
tree46e1dc4646d6c2a27fc83944e24aad1c1fafb292 /arch/powerpc/include/asm/kvm_ppc.h
parent9973d54eeafcd1c3a2e89f0f59280c4c1e03e73b (diff)
downloadlinux-fsl-qoriq-a4cd8b23ac5786943202c0174c717956947db43c.tar.xz
KVM: PPC: e500: enable magic page
This is a shared page used for paravirtualization. It is always present in the guest kernel's effective address space at the address indicated by the hypercall that enables it. The physical address specified by the hypercall is not used, as e500 does not have real mode. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_ppc.h')
-rw-r--r--arch/powerpc/include/asm/kvm_ppc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_ppc.h b/arch/powerpc/include/asm/kvm_ppc.h
index 9345238..c662f14 100644
--- a/arch/powerpc/include/asm/kvm_ppc.h
+++ b/arch/powerpc/include/asm/kvm_ppc.h
@@ -109,6 +109,7 @@ extern void kvmppc_booke_exit(void);
extern void kvmppc_core_destroy_mmu(struct kvm_vcpu *vcpu);
extern int kvmppc_kvm_pv(struct kvm_vcpu *vcpu);
+extern void kvmppc_map_magic(struct kvm_vcpu *vcpu);
/*
* Cuts out inst bits with ordering according to spec.