]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu, lxc: Change host CPU number detection logic.
authorViktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Tue, 13 Nov 2012 12:54:37 +0000 (13:54 +0100)
committerEric Blake <eblake@redhat.com>
Thu, 15 Nov 2012 15:48:19 +0000 (08:48 -0700)
commita2b3d7cff8fa87f5e06cbc39ae03cf27b4e519d5
treec21b14c5d0ed2c53212ac174889e0ef2ade8a59c
parent689b64d666bc268d55395a92a2b9d6cd51b3ad70
qemu, lxc: Change host CPU number detection logic.

The drivers for QEMU and LXC use virNodeGetInfo only to determine
the number of host CPUs. On Linux hosts nodeGetCPUCount has less
overhead.
src/lxc/lxc_controller.c
src/qemu/qemu_driver.c
src/qemu/qemu_process.c