mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
KVM: PPC: Ignore EXITING_GUEST_MODE mode
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>
This commit is contained in:
parent
3766a4c693
commit
206c2ed7f1
1 changed files with 0 additions and 5 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue