Skip to content

Commit

Permalink
KVM: PPC: Ignore EXITING_GUEST_MODE mode
Browse files Browse the repository at this point in the history
We don't need to do anything when mode is EXITING_GUEST_MODE, because
we essentially are outside of guest mode and did everything it asked
us to do by the time we check it.

Signed-off-by: Alexander Graf <agraf@suse.de>
  • Loading branch information
Alexander Graf committed Oct 5, 2012
1 parent 3766a4c commit 206c2ed
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/powerpc/kvm/powerpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@ int kvmppc_prepare_to_enter(struct kvm_vcpu *vcpu)
continue;
}

if (vcpu->mode == EXITING_GUEST_MODE) {
r = 1;
break;
}

#ifdef CONFIG_PPC64
/* lazy EE magic */
hard_irq_disable();
Expand Down

0 comments on commit 206c2ed

Please sign in to comment.