[libvirt] [PATCH 4/4] qemu: query command line options in QMP

Paolo Bonzini pbonzini at redhat.com
Sun Apr 28 17:30:24 UTC 2013


Il 26/04/2013 23:01, Eric Blake ha scritto:
> (for example, -net uses
> an old-style parser, so it shows up with no parameters)

This is not really correct.  -net (and in 1.6, -drive will too) uses the
same parser, but is a "polymorphic" option so it uses a different kind
of validation.  This should be fixed in the commit message.

For -net, we can add the list of options (even in 1.5).  For -drive we
will have to invent something along the lines of "-device foo,?".

Paolo




More information about the libvir-list mailing list