kvm/ppc/booke: Don't call kvm_guest_enter twice
authorScott Wood <scottwood@freescale.com>
Wed, 10 Jul 2013 22:47:41 +0000 (17:47 -0500)
committerAlexander Graf <agraf@suse.de>
Wed, 10 Jul 2013 22:58:49 +0000 (00:58 +0200)
kvm_guest_enter() was already called by kvmppc_prepare_to_enter().
Don't call it again.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/booke.c

index 6e35351..17722d8 100644 (file)
@@ -674,8 +674,6 @@ int kvmppc_vcpu_run(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu)
                goto out;
        }
 
-       kvm_guest_enter();
-
 #ifdef CONFIG_PPC_FPU
        /* Save userspace FPU state in stack */
        enable_kernel_fp();