diff options
author | Alexander Graf <agraf@suse.de> | 2010-04-15 22:11:57 (GMT) |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-17 09:18:52 (GMT) |
commit | dd84c21748d9280f210565429b1bdb9b6353e8d2 (patch) | |
tree | ce4de1c3942a5256df1550cb38b4ed33a35f5511 /arch/powerpc/kvm | |
parent | ada7ba17b4054f303ad62d91ffd22bc4afad1657 (diff) | |
download | linux-fsl-qoriq-dd84c21748d9280f210565429b1bdb9b6353e8d2.tar.xz |
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')
0 files changed, 0 insertions, 0 deletions