diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-02-18 22:07:18 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-16 17:57:15 +0100 |
commit | 82307e676f9d885871f121e4921b12905a53397d (patch) | |
tree | 557d606d5dafe2188cd9a5d906ac404f17c35b56 /arch/powerpc/lib/mem_64.S | |
parent | KVM: Don't free new memslot if allocation of said memslot fails (diff) | |
download | linux-82307e676f9d885871f121e4921b12905a53397d.tar.xz linux-82307e676f9d885871f121e4921b12905a53397d.zip |
KVM: PPC: Move memslot memory allocation into prepare_memory_region()
Allocate the rmap array during kvm_arch_prepare_memory_region() to pave
the way for removing kvm_arch_create_memslot() altogether. Moving PPC's
memory allocation only changes the order of kernel memory allocations
between PPC and common KVM code.
No functional change intended.
Acked-by: Paul Mackerras <paulus@ozlabs.org>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/powerpc/lib/mem_64.S')
0 files changed, 0 insertions, 0 deletions