Re: [Qemu-devel] [PATCH v8 00/40] drop qapi nested structs

2015-05-04 Thread Markus Armbruster
Eric Blake writes: > We want to eventually allow qapi defaults, by making: > 'data':{'*flag':'bool'} > as shorthand for something like: > 'data':{'flag':{'type':'bool', 'optional':true}} > so that the default can be specified: >'data':{'flag':{'type':'bool', 'optional':true, 'default':t

[Qemu-devel] [PATCH v8 00/40] drop qapi nested structs

2015-05-04 Thread Eric Blake
We want to eventually allow qapi defaults, by making: 'data':{'*flag':'bool'} as shorthand for something like: 'data':{'flag':{'type':'bool', 'optional':true}} so that the default can be specified: 'data':{'flag':{'type':'bool', 'optional':true, 'default':true}} This series does not quite