summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm/e500mc.c
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2019-12-18 13:54:58 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-24 09:18:59 +0100
commitd30769522294fbbd182659614bda16b5da231413 (patch)
treee133d24f77dd5309285b9e7953da1b28760357cf /arch/powerpc/kvm/e500mc.c
parentc50bfbdc38ec56cf8e53afb4f9ebb600dfcabd49 (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/e500mc.c')
0 files changed, 0 insertions, 0 deletions