[libvirt] [PATCH v2 02/31] qemu: Use -machine when probing capabilities via QMP
Jiri Denemark
jdenemar at redhat.com
Sun Nov 20 23:20:58 UTC 2016
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 at redhat.com>
---
src/qemu/qemu_capabilities.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index 5ae57be..7a196ad 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -4162,7 +4162,7 @@ virQEMUCapsInitQMPCommandRun(virQEMUCapsInitQMPCommandPtr cmd,
"-no-user-config",
"-nodefaults",
"-nographic",
- "-M", "none",
+ "-machine", "none",
"-qmp", cmd->monarg,
"-pidfile", cmd->pidfile,
"-daemonize",
--
2.10.2
More information about the libvir-list
mailing list