Re: [libvirt] [PATCHv3 2/4] qemu, lxc: Change host CPU number detection logic.

2012-11-15 Thread Eric Blake
On 11/13/2012 05:54 AM, Viktor Mihajlovski wrote: > The drivers for QEMU and LXC use virNodeGetInfo only to determine > the number of host CPUs. On Linux hosts nodeGetCPUCount has less > overhead. > --- > V3 Changes: > Commit message wording, since Peter's fix, nodeGetInfo will return > correct/con

[libvirt] [PATCHv3 2/4] qemu, lxc: Change host CPU number detection logic.

2012-11-13 Thread Viktor Mihajlovski
The drivers for QEMU and LXC use virNodeGetInfo only to determine the number of host CPUs. On Linux hosts nodeGetCPUCount has less overhead. --- V3 Changes: Commit message wording, since Peter's fix, nodeGetInfo will return correct/consistent topology. Still, this here is more efficient. V2 Change