Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 206c2ed7 authored by Alexander Graf's avatar Alexander Graf
Browse files

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: default avatarAlexander Graf <agraf@suse.de>
parent 3766a4c6
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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();