mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user