Fix qemu command flags fetching

New function qemudParseHelpStr was being called with arguments in the
wrong order, so command flags == kvm_version :/
This commit is contained in:
Cole Robinson 2009-06-16 14:01:43 +00:00
parent 39f775cc05
commit bfb59c172b
2 changed files with 5 additions and 1 deletions

View File

@ -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

View 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)