]> xenbits.xensource.com Git - libvirt.git/commit
libxl: use LIBXL_API_VERSION 0x040200
authorJim Fehlig <jfehlig@suse.com>
Thu, 14 Apr 2016 22:10:32 +0000 (16:10 -0600)
committerJim Fehlig <jfehlig@suse.com>
Fri, 15 Apr 2016 18:02:32 +0000 (12:02 -0600)
commite744065679ccba8471d28b2cf6e93f443cd20c8c
tree46efbdcd3bb79877aad72293bc8d324b7aea60d2
parent744d74fafd0048c01a2b5cc18d1b03917ece8886
libxl: use LIBXL_API_VERSION 0x040200

To ensure the libvirt libxl driver will build with future versions
of Xen where the libxl API may change in incompatible ways,
explicitly use LIBXL_API_VERSION 0x040200. The libxl driver
does use new libxl APIs that have been added since Xen 4.2, but
currently it does not make use of any changes made to existing
APIs such as libxl_domain_create_restore or libxl_set_vcpuaffinity.
The version can be bumped if/when the libxl driver consumes the
changed APIs.

Further details can be found in the following discussion thread

https://www.redhat.com/archives/libvir-list/2016-April/msg00178.html
Signed-off-by: Jim Fehlig <jfehlig@suse.com>
configure.ac
src/libxl/libxl_conf.h
src/libxl/libxl_domain.c