capabilities: detect ACPI and APIC capabilites properly

Enterprise / Virtualization / virt-manager - Pavel Hrdina [redhat.com] - 14 July 2015 12:26 EDT

Instead of hard-coding that ACPI and APIC are enabled by default, detect their presence from libvirt capabilities and use it.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1215692

(crobinso: Adjust for recently added test case)

1590490 capabilities: detect ACPI and APIC capabilites properly
.../compare/virt-install-aarch64-cdrom.xml | 8 --------
.../compare/virt-install-aarch64-kvm-import.xml | 4 ----
.../compare/virt-install-aarch64-machdefault.xml | 4 ----
.../compare/virt-install-aarch64-machvirt.xml | 4 ----
.../compare/virt-install-arm-defaultmach-f20.xml | 4 ----
.../compare/virt-install-arm-kvm-import.xml | 4 ----
.../compare/virt-install-arm-vexpress-f19.xml | 4 ----
.../compare/virt-install-arm-vexpress-plain.xml | 4 ----
.../compare/virt-install-arm-virt-f20.xml | 4 ----
.../compare/virt-install-cpuset-auto.xml | 4 ----
.../compare/virt-install-ppc64-machdefault-f20.xml | 2 --
.../compare/virt-install-ppc64-pseries-f20.xml | 2 --
.../compare/virt-install-ppc64le-kvm-import.xml | 2 --
.../compare/virt-install-s390x-cdrom.xml | 4 ----
.../compare/virt-install-simple-pxe.xml | 4 ----
.../compare/virt-install-w2k3-cdrom.xml | 6 ------
virtinst/capabilities.py | 14 ++++++++++++++
virtinst/guest.py | 7 +++++--
virtinst/osdict.py | 8 --------
19 files changed, 19 insertions(+), 74 deletions(-)

Upstream: git.fedorahosted.org


  • Share