[libvirt] [PATCH] qemu: fix QEMU_CAPS_NO_ACPI detection

Viktor Mihajlovski mihajlov at linux.vnet.ibm.com
Fri Dec 21 14:37:28 UTC 2012


On 12/21/2012 03:07 PM, Li Zhang wrote:
>
> Will it get QEMU_CAPS_NO_ACPI capability by QMP if S390 doesn't support
> ACPI?
> I test it on PPC, it won't get this capability by QMP.
>
In the QMP case, basic capabilities are not being probed, but assumed
to be present, however -no-acpi is only valid for x86, hence the
conditional setting.
The old help parsing code on older QEMUs could report -no-acpi for
S390 (respectively non-x86), which has to be removed from the
capability set to avoid errors starting the guest.

-- 

Mit freundlichen Grüßen/Kind Regards
    Viktor Mihajlovski

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martina Köderitz
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294




More information about the libvir-list mailing list