提交 e73447f6 编写于 作者: J Jiri Denemark

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: NJiri Denemark <jdenemar@redhat.com>
上级 4c5d05ea
...@@ -4168,7 +4168,7 @@ virQEMUCapsInitQMPCommandRun(virQEMUCapsInitQMPCommandPtr cmd) ...@@ -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",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册