aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2019-12-18 13:55:12 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-24 09:19:09 +0100
commitaaf532c57927982b2523994698f994255a722f5f (patch)
tree0eb67e06aadc18a039f7fd3e876df645c4110b97 /virt/kvm/kvm_main.c
parentKVM: s390: Invoke kvm_vcpu_init() before allocating sie_page (diff)
downloadlinux-dev-aaf532c57927982b2523994698f994255a722f5f.tar.xz
linux-dev-aaf532c57927982b2523994698f994255a722f5f.zip
KVM: MIPS: 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/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions