projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3766a4c
)
KVM: PPC: Ignore EXITING_GUEST_MODE mode
author
Alexander Graf
<agraf@suse.de>
Mon, 13 Aug 2012 10:43:33 +0000
(12:43 +0200)
committer
Alexander Graf
<agraf@suse.de>
Fri, 5 Oct 2012 21:38:46 +0000
(23:38 +0200)
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>
arch/powerpc/kvm/powerpc.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kvm/powerpc.c
b/arch/powerpc/kvm/powerpc.c
index 6646574bf9302730ba5ec146ad7283fb687eac9a..dc86371b9953dee0c761d985fca937c7873d4ea2 100644
(file)
--- 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)
continue;
}
- if (vcpu->mode == EXITING_GUEST_MODE) {
- r = 1;
- break;
- }
-
#ifdef CONFIG_PPC64
/* lazy EE magic */
hard_irq_disable();