Re: [Qemu-devel] [PATCH v14 07/19] qmp-input: Refactor when list is advanced

2016-04-13 Thread Eric Blake
On 04/13/2016 11:38 AM, Markus Armbruster wrote: > Eric Blake writes: > >> Refactor the code to advance the QListEntry pointer at the point >> where visit_type_FOO() is called, rather than visit_next_list(). >> This will allow a future patch to move the visit of the list head >> into visit_start_

Re: [Qemu-devel] [PATCH v14 07/19] qmp-input: Refactor when list is advanced

2016-04-13 Thread Markus Armbruster
Eric Blake writes: > Refactor the code to advance the QListEntry pointer at the point > where visit_type_FOO() is called, rather than visit_next_list(). > This will allow a future patch to move the visit of the list head > into visit_start_list(), and get rid of the 'first' flag. > > Signed-off-b

[Qemu-devel] [PATCH v14 07/19] qmp-input: Refactor when list is advanced

2016-04-08 Thread Eric Blake
Refactor the code to advance the QListEntry pointer at the point where visit_type_FOO() is called, rather than visit_next_list(). This will allow a future patch to move the visit of the list head into visit_start_list(), and get rid of the 'first' flag. Signed-off-by: Eric Blake --- v14: no chan