aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2017-08-17 11:42:15 +0100
committerDr. David Alan Gilbert <dgilbert@redhat.com>2017-10-05 10:01:03 +0100
commit40c71f6361b739409508a3be4221d4f5b03d4a0b (patch)
treec24259c2dc4ce4ad6fc0cca2dbc4d1082129511f
parentd147f7e815f97cb477e223586bcb80c316ae10ea (diff)
downloadqemu-40c71f6361b739409508a3be4221d4f5b03d4a0b.zip
qemu-40c71f6361b739409508a3be4221d4f5b03d4a0b.tar.gz
qemu-40c71f6361b739409508a3be4221d4f5b03d4a0b.tar.bz2
hmp: Missing handle_errors
hmp_info_memdev && hmp_info_memory_devices were missing hmp_handle_error calls. Add them. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Message-Id: <20170817104216.29150-2-dgilbert@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
-rw-r--r--hmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hmp.c b/hmp.c
index ace729d..739d330 100644
--- a/hmp.c
+++ b/hmp.c
@@ -2394,6 +2394,7 @@ void hmp_info_memdev(Monitor *mon, const QDict *qdict)
monitor_printf(mon, "\n");
qapi_free_MemdevList(memdev_list);
+ hmp_handle_error(mon, &err);
}
void hmp_info_memory_devices(Monitor *mon, const QDict *qdict)
@@ -2432,6 +2433,7 @@ void hmp_info_memory_devices(Monitor *mon, const QDict *qdict)
}
qapi_free_MemoryDeviceInfoList(info_list);
+ hmp_handle_error(mon, &err);
}
void hmp_info_iothreads(Monitor *mon, const QDict *qdict)