[PATCH] qemuProcessQMPInit: Use long options for '-qmp' when probing qemu.
Peter Krempa
pkrempa at redhat.com
Fri Sep 10 12:45:20 UTC 2021
'-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 at redhat.com>
---
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
More information about the libvir-list
mailing list