qemu/replay
Eric Blake b70ce1018a qmp-input-visitor: Favor new visit_free() function
Now that we have a polymorphic visit_free(), we no longer need
qmp_input_visitor_cleanup(); which in turn means we no longer
need to return a subtype from qmp_input_visitor_new() nor a
public upcast function.

Generated code changes to qmp-marshal.c look like:

|@@ -52,11 +52,10 @@ void qmp_marshal_add_fd(QDict *args, QOb
| {
|     Error *err = NULL;
|     AddfdInfo *retval;
|-    QmpInputVisitor *qiv = qmp_input_visitor_new(QOBJECT(args), true);
|     Visitor *v;
|     q_obj_add_fd_arg arg = {0};
|
|-    v = qmp_input_get_visitor(qiv);
|+    v = qmp_input_visitor_new(QOBJECT(args), true);
|     visit_start_struct(v, NULL, NULL, 0, &err);
|     if (err) {
|         goto out;

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1465490926-28625-8-git-send-email-eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2016-07-06 10:52:04 +02:00
..
Makefile.objs replay: character devices 2016-03-15 18:23:40 +01:00
replay-char.c replay: Clean up includes 2016-06-07 18:19:23 +03:00
replay-events.c replay: introduce block devices record/replay 2016-03-30 12:15:57 +02:00
replay-input.c qmp-input-visitor: Favor new visit_free() function 2016-07-06 10:52:04 +02:00
replay-internal.c all: Clean up includes 2016-02-04 17:41:30 +00:00
replay-internal.h replay: introduce block devices record/replay 2016-03-30 12:15:57 +02:00
replay-time.c all: Clean up includes 2016-02-04 17:41:30 +00:00
replay.c replay: Fix dangling location bug in replay_configure() 2016-04-28 08:19:20 +02:00