summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/book3s_32_mmu_host.c
diff options
context:
space:
mode:
authorAlexander Graf2010-04-16 00:11:57 +0200
committerAvi Kivity2010-05-17 11:18:52 +0200
commitdd84c21748d9280f210565429b1bdb9b6353e8d2 (patch)
treece4de1c3942a5256df1550cb38b4ed33a35f5511 /arch/powerpc/kvm/book3s_32_mmu_host.c
parentKVM: PPC: Check max IRQ prio (diff)
downloadkernel-qcow2-linux-dd84c21748d9280f210565429b1bdb9b6353e8d2.tar.gz
kernel-qcow2-linux-dd84c21748d9280f210565429b1bdb9b6353e8d2.tar.xz
kernel-qcow2-linux-dd84c21748d9280f210565429b1bdb9b6353e8d2.zip
KVM: PPC: Add KVM intercept handlers
When an interrupt occurs we don't know yet if we're in guest context or in host context. When in guest context, KVM needs to handle it. So let's pull the same trick we did on Book3S_64: Just add a macro to determine if we're in guest context or not and if so jump on to KVM code. CC: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Alexander Graf <agraf@suse.de> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/book3s_32_mmu_host.c')
0 files changed, 0 insertions, 0 deletions