On 01/05/2015 05:45 AM, Daniel P. Berrange wrote: >> It all gets a bit more complicated when an application could specify >> an arbitrary exec: uri through that API, rather than you knowing what it's >> doing. > > True, the QMP command would need to support a union of different options > switched depending on the protocol type. Not sure if QMP can do that or > not ?
Yes, the qapi allows for QMP commands to have a union of secondary parameters determined by the value of a discriminator key. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature