]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix qemu command flags fetching
authorCole Robinson <crobinso@redhat.com>
Tue, 16 Jun 2009 14:01:43 +0000 (14:01 +0000)
committerCole Robinson <crobinso@redhat.com>
Tue, 16 Jun 2009 14:01:43 +0000 (14:01 +0000)
New function qemudParseHelpStr was being called with arguments in the
wrong order, so command flags == kvm_version :/

ChangeLog
src/qemu_conf.c

index bccfc6a6637ba90b29c95cc8992eed7f5ceafce3..a13b3c4748ce661b8c8febb92204fb61fada0e78 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Jun 16 10:00:50 EDT 2009 Cole Robinson <crobinso@redhat.com>
+
+       * src/qemu_conf.c: Fix qemu command flags fetching
+
 Tue Jun 16 10:30:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
 
        * src/xen_internal.c: Add new variant of availheap sysctl
index 22f315ca6ac535eb9108fbe251e7639a9460d9ef..a669c11c00f364b32f7608693fc4e93fc3196595 100644 (file)
@@ -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)