On 06/16/2014 09:46 AM, Paolo Bonzini wrote:
Il 16/06/2014 17:39, Eduardo Habkost ha scritto:
> > No, this is a (backwards-compatible) extension to how the option is
> parsed.
>
> But numa started appearing on query-command-line-options only after this
> patch got applied. It is not the semantics I would expect from
> query-command-line-options, but it is a hint that we have a QEMU version
> with the new numa option handling code.
Oh, then indeed it's possible. I had forgotten that -numa was using ad
hoc parsing code, not QemuOpts.
Then we have our witness, even without waiting for introspection :)
>> > I suppose with QAPI introspection you could check if the QAPI type
>> for -numa
>> > is defined...
> Does this exist, or is it just an idea?
Amos was working on it.
Although given that soft freeze is tomorrow, it looks very unlikely that
we'll have it in 2.1.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org