Re: [Qemu-devel] [PATCH v15 11/23] qmp-input: Refactor when list is advanced

2016-04-28 Thread Markus Armbruster
Eric Blake writes: > In the QMP input visitor, visiting a list traverses two objects: > the QAPI GenericList of the caller (which gets advanced in > visit_next_list() regardless of this patch), and the QList input > that we are converting to QAPI. For consistency with QDict > visits, we want to

[Qemu-devel] [PATCH v15 11/23] qmp-input: Refactor when list is advanced

2016-04-27 Thread Eric Blake
In the QMP input visitor, visiting a list traverses two objects: the QAPI GenericList of the caller (which gets advanced in visit_next_list() regardless of this patch), and the QList input that we are converting to QAPI. For consistency with QDict visits, we want to consume elements from the input