Re: [Qemu-devel] [PATCH v2 09/49] qapi: support nested structs in OptsVisitor

2015-09-04 Thread Eric Blake
On 08/21/2015 09:37 AM, Kővágó, Zoltán wrote: > The current OptsVisitor flattens the whole structure, if there are same > named fields under different paths (like `in' and `out' in `Audiodev'), > the current visitor can't cope with them (for example setting > `frequency=44100' will set the in's fre

[Qemu-devel] [PATCH v2 09/49] qapi: support nested structs in OptsVisitor

2015-08-21 Thread Kővágó, Zoltán
The current OptsVisitor flattens the whole structure, if there are same named fields under different paths (like `in' and `out' in `Audiodev'), the current visitor can't cope with them (for example setting `frequency=44100' will set the in's frequency to 44100 and leave out's frequency unspecified)