]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: fix QEMU_CAPS_NO_ACPI detection
authorJán Tomko <jtomko@redhat.com>
Fri, 21 Dec 2012 13:20:11 +0000 (14:20 +0100)
committerJán Tomko <jtomko@redhat.com>
Wed, 16 Jan 2013 16:37:04 +0000 (17:37 +0100)
commit31494974c490a8be7aada113612c0de6eab94ebc
tree37c9e907d69de3ce763512b77ee13c09a1e4e13b
parent0995b0008486cb469d5ac4a5d24277ffe1234cb3
qemu: fix QEMU_CAPS_NO_ACPI detection

In commit c4bbaaf8, caps->arch was checked uninitialized, rendering the
whole check useless.

This patch moves the conditional setting of QEMU_CAPS_NO_ACPI to
qemuCapsInitQMP, and removes the no longer needed exception for S390.

It also clears the flag for all non-x86 archs instead of just S390 in
qemuCapsInitHelp.
src/qemu/qemu_capabilities.c