diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-04-24 10:43:35 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-04-30 07:26:40 +0200 |
commit | 1f5842487ad5b3d59ea32742e30dc7441f413e6c (patch) | |
tree | ac312ce737717122e4b667b272dae639782ca8f2 /hw | |
parent | 7111a86e1ba23ff8d59886df03d8a1cd6c5aab43 (diff) | |
download | qemu-1f5842487ad5b3d59ea32742e30dc7441f413e6c.zip qemu-1f5842487ad5b3d59ea32742e30dc7441f413e6c.tar.gz qemu-1f5842487ad5b3d59ea32742e30dc7441f413e6c.tar.bz2 |
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>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/core/machine-hmp-cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/core/machine-hmp-cmds.c b/hw/core/machine-hmp-cmds.c index b76f722..39999c4 100644 --- a/hw/core/machine-hmp-cmds.c +++ b/hw/core/machine-hmp-cmds.c @@ -113,7 +113,7 @@ void hmp_info_memdev(Monitor *mon, const QDict *qdict) while (m) { v = string_output_visitor_new(false, &str); - visit_type_uint16List(v, NULL, &m->value->host_nodes, NULL); + visit_type_uint16List(v, NULL, &m->value->host_nodes, &error_abort); monitor_printf(mon, "memory backend: %s\n", m->value->id); monitor_printf(mon, " size: %" PRId64 "\n", m->value->size); monitor_printf(mon, " merge: %s\n", |