KVM: PPC: Expose helper functions for data/inst faults
authorAlexander Graf <agraf@suse.de>
Wed, 18 Jun 2014 19:56:55 +0000 (21:56 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 28 Jul 2014 16:30:18 +0000 (18:30 +0200)
commit8de12015ff75967b16f70e5938b151390dac9b77
tree8b934668765b6a2fa4a9eb9ffc9f6389d02e3bfb
parentd69614a295aef72f8fb22da8e3ccf1a8f19a7ffc
KVM: PPC: Expose helper functions for data/inst faults

We're going to implement guest code interpretation in KVM for some rare
corner cases. This code needs to be able to inject data and instruction
faults into the guest when it encounters them.

Expose generic APIs to do this in a reasonably subarch agnostic fashion.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/booke.c