提交 bfb59c17 编写于 作者: C Cole Robinson

Fix qemu command flags fetching

New function qemudParseHelpStr was being called with arguments in the
wrong order, so command flags == kvm_version :/
上级 39f775cc
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> Tue Jun 16 10:30:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
* src/xen_internal.c: Add new variant of availheap sysctl * src/xen_internal.c: Add new variant of availheap sysctl
......
...@@ -597,7 +597,7 @@ int qemudExtractVersionInfo(const char *qemu, ...@@ -597,7 +597,7 @@ int qemudExtractVersionInfo(const char *qemu,
goto cleanup2; goto cleanup2;
} }
if (qemudParseHelpStr(help, &version, &kvm_version, &is_kvm, &flags) == -1) if (qemudParseHelpStr(help, &flags, &version, &is_kvm, &kvm_version) == -1)
goto cleanup2; goto cleanup2;
if (retversion) if (retversion)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册