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

Eric Blake eblake at redhat.com
Wed Feb 27 16:52:02 UTC 2013


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

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


More information about the libvir-list mailing list