[libvirt] [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option

Eric Blake eblake at redhat.com
Mon Feb 25 20:54:25 UTC 2013


On 02/21/2013 01:57 PM, Eduardo Habkost wrote:

>>> Note that the following format, currently used by libvirt:
>>>
>>>   -numa nodes,cpus=A,B,C,D
>>>
>>> will _not_ work yet, as "," is the option separator for the command-line
>>> option parser, and it will require changing the -numa option parsing
>>> code to handle "cpus" as a special case.
>>
>> No way.
> 
> Agreed.  :-)
> 
> The bad news is that libvirt uses this format since forever, this format
> never worked, and nobody ever noticed that this was broken.

Well, libvirt just entered freeze for 1.0.3.  I think the best course of
action on libvirt's side is to patch 1.0.3 to flat-out reject any cpumap
that cannot be represented in a syntax understood by qemu 1.4; then a
future libvirt can re-add support for whatever new syntax qemu 1.5 deems
as appropriate.

-- 
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/20130225/f31b6327/attachment-0001.sig>


More information about the libvir-list mailing list