]> git.kernelconcepts.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:38:41 +0000 (23:38 +0200)
commitd69c6436443c05a64452054f51a79316297755f4
tree34e6464340857f8452944e35d441afad11958ac9
parent4ffc6356ec690f77f65b7b78e0047a3fe8316371
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