[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] qemu: Fix retrieval of maximum number of vCPUs on KVM hosts



On 03/11/2013 07:59 AM, Peter Krempa wrote:
> The detection of the maximum number of cpus used incorrect ioctl
> argument value. This flaw caused that on kvm hosts this returns always
> "160" as the maximum. This is just a recommended maximum value. The real
> value is higher than that.
> 
> This patch tweaks the detection function to behave as described by the
> kernel docs:
> 
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/virtual/kvm/api.txt?id=refs/tags/v3.9-rc2#n199
> ---
>  src/qemu/qemu_driver.c | 29 +++++++++++++++++++----------
>  1 file changed, 19 insertions(+), 10 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]