]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: use b_info->{acpi,acpi} when available
authorMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Thu, 10 Sep 2020 04:18:01 +0000 (06:18 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 18 Sep 2020 06:51:47 +0000 (08:51 +0200)
commitf253dc90f528d884562075ca7c2ae7143537d5c5
tree4a67a41af99f6101d496f0f826d81703718662ee
parentcf6cc86cd2177f3dfaccb4cccf5ea487051e9f45
libxl: use b_info->{acpi,acpi} when available

b_info->u.hvm.{acpi,apic} are deprecated. But also, on recent libxl
version (4.14) the old one seems to be broken. While libxl part should
be fixed too, update the usage here and at some point drop support for
the old version.
b_info->acpi was added in Xen 4.8
b_info->apic was added in Xen 4.10
Xen 4.10 is the oldest version that still has security support (until
December 2020).

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
12 files changed:
src/libxl/libxl_conf.c
tests/libxlxml2domconfigdata/basic-hvm.json
tests/libxlxml2domconfigdata/cpu-shares-hvm.json
tests/libxlxml2domconfigdata/fullvirt-acpi-slic.json
tests/libxlxml2domconfigdata/fullvirt-cpuid-legacy-nest.json
tests/libxlxml2domconfigdata/fullvirt-cpuid.json
tests/libxlxml2domconfigdata/max-eventchannels-hvm.json
tests/libxlxml2domconfigdata/max-gntframes-hvm.json
tests/libxlxml2domconfigdata/moredevs-hvm.json
tests/libxlxml2domconfigdata/variable-clock-hvm.json
tests/libxlxml2domconfigdata/vnuma-hvm-legacy-nest.json
tests/libxlxml2domconfigdata/vnuma-hvm.json