Re: [PATCH] qemu: -numa doesn't (yet) support disjoint range

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/27/2013 01:14 AM, Michal Privoznik wrote:
> On 27.02.2013 04:08, Eric Blake wrote:
>> https://bugzilla.redhat.com/show_bug.cgi?id=896092 mentions that
>> qemu 1.4 and earlier only accept a simple start-stop range for
>> the cpu=... argument of -numa.  Libvirt would attempt to use
>> -numa cpu=1,3 for a disjoint range, which did not work as intended.
>>
>> Upstream qemu will be adding a new syntax for disjoint cpu ranges
>> in 1.5; but the design for that syntax is still under discussion
>> at the time of this patch.  So for libvirt 1.0.3, it is safest to
>> just reject attempts to build an invalid qemu command line; in the
>> future, we can add a capability bit and translate to the final
>> accepted design for selecting a disjoint cpu range in numa.
>>
>> * src/qemu/qemu_command.c (qemuBuildNumaArgStr): Reject disjoint
>> ranges.
>> ---
>>
>> Also in response to:
>> https://www.redhat.com/archives/libvir-list/2013-February/msg01414.html
>>
>>  src/qemu/qemu_command.c | 33 ++++++++++++++++++++++++---------
>>  1 file changed, 24 insertions(+), 9 deletions(-)
> 
> ACK I and think safe being pushed even during current freeze.

Thanks; pushed.

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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]