Re: [PULL 13/29] qapi: Flatten object-add

2020-07-09 Thread Markus Armbruster
Paolo Bonzini writes: > On 08/07/20 18:05, Kevin Wolf wrote: >> Markus was going to introduce new QAPI schema syntax that would allow to >> specify a few options explicitly and then one option for "the rest" that >> would just be mapped to a QDict like "any" or "gen": false, and that >> wouldn't

Re: [PULL 13/29] qapi: Flatten object-add

2020-07-08 Thread Paolo Bonzini
On 08/07/20 18:05, Kevin Wolf wrote: > Markus was going to introduce new QAPI schema syntax that would allow to > specify a few options explicitly and then one option for "the rest" that > would just be mapped to a QDict like "any" or "gen": false, and that > wouldn't require any nesting. Oh, I wa

Re: [PULL 13/29] qapi: Flatten object-add

2020-07-08 Thread Kevin Wolf
Am 08.07.2020 um 17:48 hat Paolo Bonzini geschrieben: > On 06/03/20 18:14, Kevin Wolf wrote: > > Mapping object-add to the command line as is doesn't result in nice > > syntax because of the nesting introduced with 'props'. This becomes > > nicer and more consistent with device_add and netdev_add w

Re: [PULL 13/29] qapi: Flatten object-add

2020-07-08 Thread Paolo Bonzini
On 06/03/20 18:14, Kevin Wolf wrote: > Mapping object-add to the command line as is doesn't result in nice > syntax because of the nesting introduced with 'props'. This becomes > nicer and more consistent with device_add and netdev_add when we accept > properties for the object on the top level ins

[PULL 13/29] qapi: Flatten object-add

2020-03-06 Thread Kevin Wolf
Mapping object-add to the command line as is doesn't result in nice syntax because of the nesting introduced with 'props'. This becomes nicer and more consistent with device_add and netdev_add when we accept properties for the object on the top level instead. 'props' is still accepted after this p