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:21 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-27 19:59:28 +0100
commitb3d42c9862e0e2a2d95839d91120ddf8dd8a8af6 (patch)
tree3a58001262e3225544978737b386dc98997d0a8a /virt/kvm/kvm_main.c
parentKVM: s390: Manually invoke vcpu setup during kvm_arch_vcpu_create() (diff)
downloadlinux-dev-b3d42c9862e0e2a2d95839d91120ddf8dd8a8af6.tar.xz
linux-dev-b3d42c9862e0e2a2d95839d91120ddf8dd8a8af6.zip
KVM: PPC: BookE: Setup vcpu during kvmppc_core_vcpu_create()
Fold setup() into create() now that the two are called back-to-back by common KVM code. This paves the way for removing kvm_arch_vcpu_setup(). Note, BookE directly implements kvm_arch_vcpu_setup() and PPC's common kvm_arch_vcpu_create() is responsible for its own cleanup, thus the only cleanup required when directly invoking kvmppc_core_vcpu_setup() is to call .vcpu_free(), which is the BookE specific portion of PPC's kvm_arch_vcpu_destroy() by way of kvmppc_core_vcpu_free(). No functional change intended. 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