]> 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>
Mon, 24 Sep 2012 12:50:24 +0000 (14:50 +0200)
commitc8c4e4bb966f701ee2a416441f1f49539a49a21b
tree32d2bb1c8d41396140e446a310dc882d19e36a22
parenteafd2d0a383042cadc2dcff7a536e73de714a6a7
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