]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hmp.c
QemuOpts: Wean off qerror_report_err()
[mirror_qemu.git] / hmp.c
diff --git a/hmp.c b/hmp.c
index 458a0c933d6d1c26f12f34ca3b031258d0c53d19..1375b0d85cbf6de637258f8aa9f279fb08830d7d 100644 (file)
--- a/hmp.c
+++ b/hmp.c
@@ -1839,7 +1839,7 @@ void hmp_chardev_add(Monitor *mon, const QDict *qdict)
     Error *err = NULL;
     QemuOpts *opts;
 
-    opts = qemu_opts_parse(qemu_find_opts("chardev"), args, 1);
+    opts = qemu_opts_parse_noisily(qemu_find_opts("chardev"), args, true);
     if (opts == NULL) {
         error_setg(&err, "Parsing chardev args failed");
     } else {