On Wed, 18 Dec 2019 13:55:30 -0800 Sean Christopherson <sean.j.christopherson@xxxxxxxxx> wrote: > Open code the allocation and freeing of the vcpu->run page in > kvm_vm_ioctl_create_vcpu() and kvm_vcpu_destroy() respectively. Doing > so allows kvm_vcpu_init() to be a pure init function and eliminates > kvm_vcpu_uninit() entirely. > > Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx> > --- > virt/kvm/kvm_main.c | 34 +++++++++++++--------------------- > 1 file changed, 13 insertions(+), 21 deletions(-) Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>