]> git.baikalelectronics.ru Git - kernel.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)
commit977802eedd271cf5a7316810d78914cf8480cf04
tree34e6464340857f8452944e35d441afad11958ac9
parent0379e338b3680c2aeb34b632be6e3cb9a75c39f2
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