[libvirt] [PATCH] qemu: Use the CPU index in capabilities to map NUMA node to cpu list.

Eric Blake eblake at redhat.com
Mon May 14 17:03:50 UTC 2012


On 05/12/2012 06:52 AM, Osier Yang wrote:
> On some of the NUMA platforms, the CPU index in each NUMA node
> grows sequentially. While on other platforms, it can be inconsecutive,

s/inconsecutive/non-consecutive/

> 
> This patch is to fix the problem by using the CPU index in
> caps->host.numaCell[i]->cpus[i] to set the bitmask instead of
> assuming the CPU index of the NUMA nodes are always sequential.
> ---
>  src/qemu/qemu_process.c |   11 ++---------
>  1 files changed, 2 insertions(+), 9 deletions(-)

ACK.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120514/af234be2/attachment-0001.sig>


More information about the libvir-list mailing list