Re: [Qemu-devel] [PATCH 1/5] qapi: Further enhance visitor virtual walk doc example

2017-07-20 Thread Eric Blake
On 07/20/2017 04:05 AM, Markus Armbruster wrote: > Eric Blake writes: > >> Markus pointed out that the example given for virtual walks did >> not discuss how to do a virtual walk of an alternate type. It >> turns out that for output, we don't need to visit an alternate >> (just directly visit th

Re: [Qemu-devel] [PATCH 1/5] qapi: Further enhance visitor virtual walk doc example

2017-07-20 Thread Markus Armbruster
Eric Blake writes: > Markus pointed out that the example given for virtual walks did > not discuss how to do a virtual walk of an alternate type. It > turns out that for output, we don't need to visit an alternate > (just directly visit the type that we want); and for input, > visit_start_altern

[Qemu-devel] [PATCH 1/5] qapi: Further enhance visitor virtual walk doc example

2017-07-14 Thread Eric Blake
Markus pointed out that the example given for virtual walks did not discuss how to do a virtual walk of an alternate type. It turns out that for output, we don't need to visit an alternate (just directly visit the type that we want); and for input, visit_start_alternate() is not currently wired up