mirror of https://gitee.com/openkylin/libvirt.git
qemu: Use -machine when probing capabilities via QMP
Using -machine instead of -M for QMP probing is safe because any QEMU binary which is capable of QMP probing supports -machine. Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
4c5d05ea8a
commit
e73447f693
|
@ -4168,7 +4168,7 @@ virQEMUCapsInitQMPCommandRun(virQEMUCapsInitQMPCommandPtr cmd)
|
||||||
"-no-user-config",
|
"-no-user-config",
|
||||||
"-nodefaults",
|
"-nodefaults",
|
||||||
"-nographic",
|
"-nographic",
|
||||||
"-M", "none",
|
"-machine", "none",
|
||||||
"-qmp", cmd->monarg,
|
"-qmp", cmd->monarg,
|
||||||
"-pidfile", cmd->pidfile,
|
"-pidfile", cmd->pidfile,
|
||||||
"-daemonize",
|
"-daemonize",
|
||||||
|
|
Loading…
Reference in New Issue