[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[libvirt] [PATCH] Fix qemu command flags fetching
- From: Cole Robinson <crobinso redhat com>
- To: libvirt-list redhat com
- Cc:
- Subject: [libvirt] [PATCH] Fix qemu command flags fetching
- Date: Mon, 15 Jun 2009 18:11:03 -0400
New function qemudParseHelpStr was being called with arguments in the
wrong order, so command flags == kvm_version :/
Signed-off-by: Cole Robinson <crobinso redhat com>
---
src/qemu_conf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/qemu_conf.c b/src/qemu_conf.c
index 22f315c..a669c11 100644
--- a/src/qemu_conf.c
+++ b/src/qemu_conf.c
@@ -597,7 +597,7 @@ int qemudExtractVersionInfo(const char *qemu,
goto cleanup2;
}
- if (qemudParseHelpStr(help, &version, &kvm_version, &is_kvm, &flags) == -1)
+ if (qemudParseHelpStr(help, &flags, &version, &is_kvm, &kvm_version) == -1)
goto cleanup2;
if (retversion)
--
1.6.0.6
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]