]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: PPC: BookE: Add support for vcpu->mode
authorAlexander Graf <agraf@suse.de>
Wed, 8 Aug 2012 18:44:20 +0000 (20:44 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 5 Oct 2012 21:33:31 +0000 (23:33 +0200)
commit213f845f86572c2d53af92f972a49f8a43a0513e
tree34e6464340857f8452944e35d441afad11958ac9
parentc169577115cceaf3aaa821fa4cc501d78895406a
KVM: PPC: BookE: Add support for vcpu->mode

Generic KVM code might want to know whether we are inside guest context
or outside. It also wants to be able to push us out of guest context.

Add support to the BookE code for the generic vcpu->mode field that describes
the above states.

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