Re: [Qemu-devel] [PATCH v14 09/21] qapi: permit auto-creating single element lists

2016-10-21 Thread Markus Armbruster
"Daniel P. Berrange" writes: > On Wed, Oct 12, 2016 at 11:18:21AM +0200, Markus Armbruster wrote: >> "Daniel P. Berrange" writes: >> >> > When converting QemuOpts to a QObject, there is no information >> > about compound types available, >> >> Yes,

Re: [Qemu-devel] [PATCH v14 09/21] qapi: permit auto-creating single element lists

2016-10-20 Thread Daniel P. Berrange
On Wed, Oct 12, 2016 at 11:18:21AM +0200, Markus Armbruster wrote: > "Daniel P. Berrange" writes: > > > When converting QemuOpts to a QObject, there is no information > > about compound types available, > > Yes, that's a drawback of splitting the conversion into a QemuOpts

Re: [Qemu-devel] [PATCH v14 09/21] qapi: permit auto-creating single element lists

2016-10-12 Thread Markus Armbruster
"Daniel P. Berrange" writes: > When converting QemuOpts to a QObject, there is no information > about compound types available, Yes, that's a drawback of splitting the conversion into a QemuOpts -> QObject part that is oblivious of types, and a QObject -> QAPI object part

Re: [Qemu-devel] [PATCH v14 09/21] qapi: permit auto-creating single element lists

2016-09-30 Thread Eric Blake
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