]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/powerpc/kvm/powerpc.c
KVM: PPC: Implement extension to report number of memslots
authorNikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Fri, 16 Oct 2015 04:57:53 +0000 (10:27 +0530)
committerPaul Mackerras <paulus@samba.org>
Wed, 21 Oct 2015 05:31:46 +0000 (16:31 +1100)
commitbfec5c2cc0adad3b343281eb4f9b94222c5f594f
treeb387ae9acbafdac7637628e68339d411deb80f00
parentc64dfe2af3de448f9afa2e542983015b31c1f91c
KVM: PPC: Implement extension to report number of memslots

QEMU assumes 32 memslots if this extension is not implemented. Although,
current value of KVM_USER_MEM_SLOTS is 32, once KVM_USER_MEM_SLOTS
changes QEMU would take a wrong value.

Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kvm/powerpc.c