Xen: Remove unneeded LIBXL_HAVE_* ifdefs

Now that the minimum supported Xen version has bumped to 4.9, all
uses of LIBXL_HAVE_* that are included in Xen 4.9 can be removed
from the libxl driver.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Jim Fehlig
2021-06-17 11:27:26 -06:00
parent 36d6da4ebf
commit e58004d70a
9 changed files with 6 additions and 157 deletions

View File

@@ -105,13 +105,7 @@ testCompareXMLToDomConfig(const char *xmlfile,
*/
# ifndef LIBXL_HAVE_BUILDINFO_APIC
if (expectconfig.c_info.type == LIBXL_DOMAIN_TYPE_HVM) {
# ifdef LIBXL_HAVE_MEMKB_64BITS
/*
* This part of the libxl API was changed without a guard in Xen 4.8.
* Reuse another Xen 4.8 specific conditional.
*/
libxl_defbool_unset(&expectconfig.b_info.acpi);
# endif
libxl_defbool_set(&expectconfig.b_info.u.hvm.apic, true);
libxl_defbool_set(&expectconfig.b_info.u.hvm.acpi, true);
}