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:
Jiri Denemark 2016-11-11 22:56:52 +01:00
parent 4c5d05ea8a
commit e73447f693

View File

@ -4168,7 +4168,7 @@ virQEMUCapsInitQMPCommandRun(virQEMUCapsInitQMPCommandPtr cmd)
"-no-user-config",
"-nodefaults",
"-nographic",
"-M", "none",
"-machine", "none",
"-qmp", cmd->monarg,
"-pidfile", cmd->pidfile,
"-daemonize",