[PATCH] qemuProcessQMPInit: Use long options for '-qmp' when probing qemu.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



'-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@xxxxxxxxxx>
---
 src/qemu/qemu_process.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index 207129a556..df1f481433 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -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
-- 
2.31.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux