mirror of
https://github.com/mii443/qemu.git
synced 2025-09-01 14:49:23 +00:00
qapi: Only input visitors can actually fail
The previous few commits have made this more obvious, and removed the one exception. Time to clarify the documentation, and drop dead error checking. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20200424084338.26803-13-armbru@redhat.com>
This commit is contained in:
@ -334,7 +334,8 @@ void hmp_info_migrate(Monitor *mon, const QDict *qdict)
|
||||
Visitor *v;
|
||||
char *str;
|
||||
v = string_output_visitor_new(false, &str);
|
||||
visit_type_uint32List(v, NULL, &info->postcopy_vcpu_blocktime, NULL);
|
||||
visit_type_uint32List(v, NULL, &info->postcopy_vcpu_blocktime,
|
||||
&error_abort);
|
||||
visit_complete(v, &str);
|
||||
monitor_printf(mon, "postcopy vcpu blocktime: %s\n", str);
|
||||
g_free(str);
|
||||
|
Reference in New Issue
Block a user