[Qemu-devel] [PULL 14/25] KVM: Introduce kvm_arch_destroy_vcpu()

2019-06-21 Thread Paolo Bonzini
From: Liran Alon Simiar to how kvm_init_vcpu() calls kvm_arch_init_vcpu() to perform arch-dependent initialisation, introduce kvm_arch_destroy_vcpu() to be called from kvm_destroy_vcpu() to perform arch-dependent destruction. This was added because some architectures (Such as i386) currently do

[Qemu-devel] [PULL 14/25] KVM: Introduce kvm_arch_destroy_vcpu()

2019-06-20 Thread Paolo Bonzini
From: Liran Alon Simiar to how kvm_init_vcpu() calls kvm_arch_init_vcpu() to perform arch-dependent initialisation, introduce kvm_arch_destroy_vcpu() to be called from kvm_destroy_vcpu() to perform arch-dependent destruction. This was added because some architectures (Such as i386) currently do