diff options
author | Alexander Graf <agraf@suse.de> | 2012-08-13 06:43:33 -0400 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-10-05 17:38:46 -0400 |
commit | 206c2ed7f1ea55222bde2954ee3d65c2e9cfb750 (patch) | |
tree | 4c1fc628d847d088d6dce401abea0a54a53501aa | |
parent | 3766a4c693358cff33441310413e3776dbbf8ef0 (diff) |
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>
-rw-r--r-- | arch/powerpc/kvm/powerpc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c index 6646574bf930..dc86371b9953 100644 --- a/arch/powerpc/kvm/powerpc.c +++ b/arch/powerpc/kvm/powerpc.c | |||
@@ -89,11 +89,6 @@ int kvmppc_prepare_to_enter(struct kvm_vcpu *vcpu) | |||
89 | continue; | 89 | continue; |
90 | } | 90 | } |
91 | 91 | ||
92 | if (vcpu->mode == EXITING_GUEST_MODE) { | ||
93 | r = 1; | ||
94 | break; | ||
95 | } | ||
96 | |||
97 | #ifdef CONFIG_PPC64 | 92 | #ifdef CONFIG_PPC64 |
98 | /* lazy EE magic */ | 93 | /* lazy EE magic */ |
99 | hard_irq_disable(); | 94 | hard_irq_disable(); |