qemu-devel
[Top][All Lists]
Advanced

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

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


From: Eric Blake
Subject: Re: [Qemu-devel] [libvirt] [PATCH] vl.c: Support multiple CPU ranges on -numa option
Date: Mon, 25 Feb 2013 13:54:25 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3

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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]