]> xenbits.xensource.com Git - libvirt.git/commit
libxl: drop support for Xen < 4.6
authorJim Fehlig <jfehlig@suse.com>
Tue, 27 Mar 2018 17:50:14 +0000 (11:50 -0600)
committerJim Fehlig <jfehlig@suse.com>
Fri, 14 Sep 2018 17:47:08 +0000 (11:47 -0600)
commit5bdcef13d13560512c7d6d8c9e8822e456889e0c
treedd9a20f743ba4bc9f39637ca4109191f606aecdb
parent317e3b28656d0685ca88667e52b81df44799ae8c
libxl: drop support for Xen < 4.6

Currently the libxl driver claims support for Xen >= 4.4, but
Xen 4.4 and 4.5 are no longer supported upstream. Let's increase
the minimum supported Xen version to 4.6 and change the defined
LIBXL_API_VERSION to 0x040500, which is the API version defined
when Xen 4.6 was released.

Since Xen 4.6 contains a pkgconfig file, drop the now unused code
that falls back to using LIBVIRT_CHECK_LIB in the absence of
pkgconfig file. In addition, bumping the LIBXL_API_VERSION
required adjusting the calls to libxl_set_vcpuaffinity to account
for the extra parameter in the 0x040500 version of the API.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/drvxen.html.in
m4/virt-driver-libxl.m4
src/libxl/libxl_domain.c
src/libxl/libxl_driver.c