kvm: move KVM_CAP_NR_MEMSLOTS to common code
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 28 Mar 2019 16:24:03 +0000 (17:24 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Apr 2019 13:39:08 +0000 (15:39 +0200)
commitc110ae578ca0a10064dfbda3d786d6a733b9fe69
treeb3c672dffd74fadaf513a2151bc839773b07a470
parent0a62956312e9dcd0ce5c59be4f0a8d8292a62402
kvm: move KVM_CAP_NR_MEMSLOTS to common code

All architectures except MIPS were defining it in the same way,
and memory slots are handled entirely by common code so there
is no point in keeping the definition per-architecture.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Documentation/virtual/kvm/api.txt
arch/powerpc/kvm/powerpc.c
arch/s390/kvm/kvm-s390.c
arch/x86/kvm/x86.c
virt/kvm/arm/arm.c
virt/kvm/kvm_main.c