Re: [Qemu-devel] [PATCH v3 5/8] qapi: support nested structs in OptsVisitor

2015-06-18 Thread Kővágó Zoltán
2015-06-18 19:15 keltezéssel, Laszlo Ersek írta: On 06/18/15 18:43, 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

Re: [Qemu-devel] [PATCH v3 5/8] qapi: support nested structs in OptsVisitor

2015-06-18 Thread Laszlo Ersek
On 06/18/15 18:43, 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 frequenc

[Qemu-devel] [PATCH v3 5/8] qapi: support nested structs in OptsVisitor

2015-06-18 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)