Re: [Qemu-devel] [PATCH] kvm: Query KVM for available memory slots

2013-11-25 Thread Paolo Bonzini
Il 25/11/2013 11:16, Thomas Huth ha scritto: > On Fri, 22 Nov 2013 12:12:44 -0700 > Alex Williamson wrote: > >> KVM reports the number of available memory slots (KVM_CAP_NR_MEMSLOTS) >> using the extension interface. Both x86 and s390 implement this, ARM >> and powerpc do not yet enable it. Con

Re: [Qemu-devel] [PATCH] kvm: Query KVM for available memory slots

2013-11-25 Thread Thomas Huth
On Fri, 22 Nov 2013 12:12:44 -0700 Alex Williamson wrote: > KVM reports the number of available memory slots (KVM_CAP_NR_MEMSLOTS) > using the extension interface. Both x86 and s390 implement this, ARM > and powerpc do not yet enable it. Convert the static slots array to > be dynamically alloca

[Qemu-devel] [PATCH] kvm: Query KVM for available memory slots

2013-11-22 Thread Alex Williamson
KVM reports the number of available memory slots (KVM_CAP_NR_MEMSLOTS) using the extension interface. Both x86 and s390 implement this, ARM and powerpc do not yet enable it. Convert the static slots array to be dynamically allocated, supporting more slots when available. Default to 32 when KVM_CA