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

'-qmp' in this case behaves the same as '-chardev' so it should have
been converted the same way as others were in 43c9c0859f since
short options are deprecated.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa 2021-09-10 14:16:50 +02:00
parent 9810633253
commit 526f2900bc

View 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