diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-12-18 13:55:14 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-24 09:19:11 +0100 |
commit | 4543bdc08857e8026475a477e7ba88e461f38271 (patch) | |
tree | 8c61914a22f8b911cf5eed811dd8000846ba7533 /include/linux/leds-lp3952.h | |
parent | KVM: x86: Invoke kvm_vcpu_uninit() immediately prior to freeing vcpu (diff) | |
download | linux-dev-4543bdc08857e8026475a477e7ba88e461f38271.tar.xz linux-dev-4543bdc08857e8026475a477e7ba88e461f38271.zip |
KVM: Introduce kvm_vcpu_destroy()
Add kvm_vcpu_destroy() and wire up all architectures to call the common
function instead of their arch specific implementation. The common
destruction function will be used by future patches to move allocation
and initialization of vCPUs to common KVM code, i.e. to free resources
that are allocated by arch agnostic code.
No functional change intended.
Acked-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/leds-lp3952.h')
0 files changed, 0 insertions, 0 deletions