Skip to contentSkip to conversation

KVM: PPC: Ignore EXITING_GUEST_MODE mode

PATCH New Alexander Graf 1 participant 1 message Oct 4, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 29/56 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.

---
 arch/powerpc/kvm/powerpc.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
arch/powerpc/kvm/powerpc.c +0 -5
index 6646574..dc86371 100644
@@ -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();
Signature · 1 line
1.6.0.2