On 09/30/2016 09:45 AM, Daniel P. Berrange wrote: > When converting QemuOpts to a QObject, there is no information > about compound types available, so when visiting a list, the > corresponding QObject is not guaranteed to be a QList. We > therefore need to be able to auto-create a single element QList > from whatever type we find. > > This mode should only be enabled if you have compatibility > requirements for > > -arg foo=hello,foo=world > > to be treated as equivalent to the preferred syntax: > > -arg foo.0=hello,foo.1=world > > Signed-off-by: Daniel P. Berrange <berra...@redhat.com> > --- > include/qapi/qobject-input-visitor.h | 20 +++++++- > qapi/qobject-input-visitor.c | 27 +++++++++-- > tests/test-qobject-input-visitor.c | 88 > +++++++++++++++++++++++++++++++----- > 3 files changed, 117 insertions(+), 18 deletions(-) >
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature