]> 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>
Tue, 14 Aug 2012 22:29:02 +0000 (00:29 +0200)
commitfcf38d288434a0e0ec02dd361f96c3451187ecd5
tree1041fd629bbbbaa2ee89795ab50769ae74e2c867
parentfa17a4681b84ba9e09ccaa36d4735dbb250dc6ce
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