Re: [Qemu-devel] [PATCH 11/21] qapi: Make QObject input visitor set *list reliably

2017-02-25 Thread Eric Blake
On 02/23/2017 03:45 PM, Markus Armbruster wrote: > qobject_input_start_struct() sets *list, except when it fails because > qobject_input_get_object() fails, i.e. the input object doesn't exist. > > All the other input visitor start_struct(), start_list(), > start_alternate() always set *obj / *lis

[Qemu-devel] [PATCH 11/21] qapi: Make QObject input visitor set *list reliably

2017-02-23 Thread Markus Armbruster
qobject_input_start_struct() sets *list, except when it fails because qobject_input_get_object() fails, i.e. the input object doesn't exist. All the other input visitor start_struct(), start_list(), start_alternate() always set *obj / *list. Change qobject_input_start_struct() to match. Signed-o