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/Docu...
---
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