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

Osier Yang jyang at redhat.com
Tue May 15 02:10:37 UTC 2012


On 2012年05月15日 01:03, Eric Blake wrote:
> 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.
>

Thanks, pushed with the the substitution.

Regards,
Osier




More information about the libvir-list mailing list