KVM: Drop kvm_arch_create_memslot()
Remove kvm_arch_create_memslot() now that all arch implementations are effectively nops. Removing kvm_arch_create_memslot() eliminates the possibility for arch specific code to allocate memory prior to setting a memslot, which sets the stage for simplifying kvm_free_memslot(). Cc: Janosch Frank <frankja@linux.ibm.com> Acked-by:Christian Borntraeger <borntraeger@de.ibm.com> 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>
Showing
- arch/mips/kvm/mips.c 0 additions, 6 deletionsarch/mips/kvm/mips.c
- arch/powerpc/kvm/powerpc.c 0 additions, 6 deletionsarch/powerpc/kvm/powerpc.c
- arch/s390/kvm/kvm-s390.c 0 additions, 6 deletionsarch/s390/kvm/kvm-s390.c
- arch/x86/kvm/x86.c 0 additions, 6 deletionsarch/x86/kvm/x86.c
- include/linux/kvm_host.h 0 additions, 2 deletionsinclude/linux/kvm_host.h
- virt/kvm/arm/mmu.c 0 additions, 6 deletionsvirt/kvm/arm/mmu.c
- virt/kvm/kvm_main.c 7 additions, 14 deletionsvirt/kvm/kvm_main.c
Loading
Please register or sign in to comment