Re: [Qemu-devel] [PATCH v4 06/28] opts-visitor: Favor new visit_free() function

2016-06-01 Thread Markus Armbruster
Eric Blake writes: > Now that we have a polymorphic visit_free(), we no longer need > opts_visitor_cleanup(); which in turn means we no longer need > to return a subtype from opts_visitor_new() nor a public upcast > function. > > Signed-off-by: Eric Blake [...] > diff --git a/qapi/opts-visitor.c

[Qemu-devel] [PATCH v4 06/28] opts-visitor: Favor new visit_free() function

2016-05-18 Thread Eric Blake
Now that we have a polymorphic visit_free(), we no longer need opts_visitor_cleanup(); which in turn means we no longer need to return a subtype from opts_visitor_new() nor a public upcast function. Signed-off-by: Eric Blake --- v4: new patch --- include/qapi/opts-visitor.h | 4 +--- block/cry