]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemuProcessQMPInit: Use long options for '-qmp' when probing qemu.
authorPeter Krempa <pkrempa@redhat.com>
Fri, 10 Sep 2021 12:16:50 +0000 (14:16 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 10 Sep 2021 13:18:48 +0000 (15:18 +0200)
'-qmp' in this case behaves the same as '-chardev' so it should have
been converted the same way as others were in 43c9c0859f2d53321 since
short options are deprecated.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_process.c

index 207129a5565cb887049633e11bf4fd366f836067..df1f4814332a1d4084e540cb92f7998fbd83ebe1 100644 (file)
@@ -9045,7 +9045,7 @@ qemuProcessQMPInit(qemuProcessQMP *proc)
 
     proc->monpath = g_strdup_printf("%s/%s", proc->uniqDir, "qmp.monitor");
 
-    proc->monarg = g_strdup_printf("unix:%s,server,nowait", proc->monpath);
+    proc->monarg = g_strdup_printf("unix:%s,server=on,wait=off", proc->monpath);
 
     /*
      * Normally we'd use runDir for pid files, but because we're using