From: Bharat Bhushan Date: Mon, 8 Apr 2013 00:32:15 +0000 (+0000) Subject: booke: exit to user space if emulator request X-Git-Tag: v3.12-rc1~895^2~13^2~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b4f530807e4243d8c4bc02c5bbd5b9e3e2ed9e0;p=kernel%2Fkernel-generic.git booke: exit to user space if emulator request This allows the exit to user space if emulator request by returning EMULATE_EXIT_USER. This will be used in subsequent patches in list Signed-off-by: Bharat Bhushan Signed-off-by: Alexander Graf --- diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c index a3e2db0..97ae158 100644 --- a/arch/powerpc/kvm/booke.c +++ b/arch/powerpc/kvm/booke.c @@ -745,6 +745,9 @@ static int emulation_exit(struct kvm_run *run, struct kvm_vcpu *vcpu) kvmppc_core_queue_program(vcpu, ESR_PIL); return RESUME_HOST; + case EMULATE_EXIT_USER: + return RESUME_HOST; + default: BUG(); }