diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 51292843afcba89e77a84ef3140f6bcebb6dc929..b731fc7d0306bd993ac23ef4d54f263bb10d7694 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -9259,10 +9259,6 @@ void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu) { vcpu->arch.apf.msr_val = 0; - vcpu_load(vcpu); - kvm_mmu_unload(vcpu); - vcpu_put(vcpu); - kvm_arch_vcpu_free(vcpu); }