qemu-e2k/monitor
Markus Armbruster b11a093c60 qapi: Smooth another visitor error checking pattern
Convert

    visit_type_FOO(v, ..., &ptr, &err);
    ...
    if (err) {
        ...
    }

to

    visit_type_FOO(v, ..., &ptr, errp);
    ...
    if (!ptr) {
        ...
    }

for functions that set @ptr to non-null / null on success / error.

Eliminate error_propagate() that are now unnecessary.  Delete @err
that are now unused.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200707160613.848843-40-armbru@redhat.com>
2020-07-10 15:18:08 +02:00
..
Makefile.objs qemu-storage-daemon: Add --monitor option 2020-03-06 17:21:28 +01:00
hmp-cmds.c qapi: Use returned bool to check for failure, Coccinelle part 2020-07-10 15:18:08 +02:00
hmp.c hmp: Fail gracefully if chardev is already in use 2020-03-06 17:21:28 +01:00
misc.c memory: Make 'info mtree' not display disabled regions by default 2020-06-10 12:10:49 -04:00
monitor-internal.h qom: Clean up inconsistent use of gchar * vs. char * 2020-05-15 06:26:02 +02:00
monitor.c qapi: Smooth another visitor error checking pattern 2020-07-10 15:18:08 +02:00
qmp-cmds-control.c qmp: constify QmpCommand and list 2020-03-17 21:43:12 +01:00
qmp-cmds.c block: Move sysemu QMP commands to QAPI block module 2020-03-06 17:15:38 +01:00
qmp.c qapi: Disallow qmp_marshal_FOO(NULL, ...) 2020-04-30 07:26:41 +02:00
trace-events monitor: Split out monitor/monitor.c 2019-06-18 08:14:17 +02:00