aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kvm/x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 6b2ce1d2d748..dff08e527ec7 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -4653,7 +4653,6 @@ static int __vcpu_run(struct kvm_vcpu *vcpu)
4653 } 4653 }
4654 4654
4655 srcu_read_unlock(&kvm->srcu, vcpu->srcu_idx); 4655 srcu_read_unlock(&kvm->srcu, vcpu->srcu_idx);
4656 post_kvm_run_save(vcpu);
4657 4656
4658 vapic_exit(vcpu); 4657 vapic_exit(vcpu);
4659 4658
@@ -4703,6 +4702,7 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)
4703 r = __vcpu_run(vcpu); 4702 r = __vcpu_run(vcpu);
4704 4703
4705out: 4704out:
4705 post_kvm_run_save(vcpu);
4706 if (vcpu->sigset_active) 4706 if (vcpu->sigset_active)
4707 sigprocmask(SIG_SETMASK, &sigsaved, NULL); 4707 sigprocmask(SIG_SETMASK, &sigsaved, NULL);
4708 4708