diff options
author | Sean Christopherson | 2019-12-18 13:54:58 -0800 |
---|---|---|
committer | Paolo Bonzini | 2020-01-24 09:18:59 +0100 |
commit | d30769522294fbbd182659614bda16b5da231413 (patch) | |
tree | e133d24f77dd5309285b9e7953da1b28760357cf /arch/powerpc/kvm/powerpc.c | |
parent | c50bfbdc38ec56cf8e53afb4f9ebb600dfcabd49 (diff) |
KVM: PPC: Book3S PR: Allocate book3s and shadow vcpu after common init
Call kvm_vcpu_init() in kvmppc_core_vcpu_create_pr() prior to allocating
the book3s and shadow_vcpu objects in preparation of moving said call to
common PPC code. Although kvm_vcpu_init() has an arch callback, the
callback is empty for Book3S PR, i.e. barring unseen black magic, moving
the allocation has no real functional impact.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/powerpc.c')
0 files changed, 0 insertions, 0 deletions