diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-02-18 22:07:19 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-16 17:57:16 +0100 |
commit | 0dab98b7ade66598cab3b59931995ce91bd61258 (patch) | |
tree | c9966db30aed2f18b1b093231d2cdd991eb14c18 /arch/arm/plat-samsung/wakeup-mask.c | |
parent | KVM: PPC: Move memslot memory allocation into prepare_memory_region() (diff) | |
download | linux-0dab98b7ade66598cab3b59931995ce91bd61258.tar.xz linux-0dab98b7ade66598cab3b59931995ce91bd61258.zip |
KVM: x86: Allocate memslot resources during prepare_memory_region()
Allocate the various metadata structures associated with a new memslot
during kvm_arch_prepare_memory_region(), which paves the way for
removing kvm_arch_create_memslot() altogether. Moving x86's memory
allocation only changes the order of kernel memory allocations between
x86 and common KVM code.
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/arm/plat-samsung/wakeup-mask.c')
0 files changed, 0 insertions, 0 deletions