aboutsummaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2019-12-18 13:55:13 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-24 09:19:10 +0100
commitd2423b347de46657c306d4c58f2e08feba4a19c4 (patch)
tree53b3476741a8bffde35f9b38800db2743bf811da /virt
parentKVM: MIPS: Invoke kvm_vcpu_uninit() immediately prior to freeing vcpu (diff)
downloadlinux-dev-d2423b347de46657c306d4c58f2e08feba4a19c4.tar.xz
linux-dev-d2423b347de46657c306d4c58f2e08feba4a19c4.zip
KVM: x86: Invoke kvm_vcpu_uninit() immediately prior to freeing vcpu
Move the call to kvm_vcpu_uninit() in kvm_arch_vcpu_destroy() down a few lines so that it is invoked immediately prior to freeing the vCPU. This paves the way for moving the uninit and free sequence to common KVM code without an associated functional change. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions