diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-12-18 13:54:55 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-24 09:18:57 +0100 |
commit | 987b2594ed5d128c95c5255a9c7755f7480bf407 (patch) | |
tree | bb6992fe500527e9003be59ce00af6e1153c21f1 /arch/powerpc/kvm/e500mc.c | |
parent | d813a8ba54f94fd6a0276230bdf53c97b36c2101 (diff) |
KVM: x86: Move kvm_vcpu_init() invocation to common code
Move the kvm_cpu_{un}init() calls to common x86 code as an intermediate
step to removing kvm_cpu_{un}init() altogether.
Note, VMX'x alloc_apic_access_page() and init_rmode_identity_map() are
per-VM allocations and are intentionally kept if vCPU creation fails.
They are freed by kvm_arch_destroy_vm().
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 'arch/powerpc/kvm/e500mc.c')
0 files changed, 0 insertions, 0 deletions