Re: [Qemu-devel] [PATCH 7/7] qapi: support nested structs in OptsVisitor

2015-09-17 Thread Kővágó Zoltán
2015-09-17 23:24 keltezéssel, Eric Blake írta: On 09/07/2015 06:14 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 setti

Re: [Qemu-devel] [PATCH 7/7] qapi: support nested structs in OptsVisitor

2015-09-17 Thread Eric Blake
On 09/07/2015 06:14 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 7/7] qapi: support nested structs in OptsVisitor

2015-09-07 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)