libvirt/src/libxl
Dario Faggioli f8cd027360 libxl: don't break the build on Xen>=4.5 because of libxl_vcpu_setaffinity()
libxl interface for vcpu pinning is changing in Xen 4.5. Basically,
libxl_set_vcpuaffinity() now wants one more parameter. That is
representative of 'VCPU soft affinity', which libvirt does not use.

To mark such change, the macro LIBXL_HAVE_VCPUINFO_SOFT_AFFINITY is
defined. Use it as a gate and, if present, re-#define the calls from
the old to the new interface, to avoid breaking the build.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Cc: Jim Fehlig <jfehlig@suse.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>
(cherry picked from commit bfc72e9992)
2015-12-16 09:00:48 -07:00
..
libxl_conf.c libxl: Resolve possible NULL dereference 2013-08-20 13:20:56 -04:00
libxl_conf.h libxl: don't break the build on Xen>=4.5 because of libxl_vcpu_setaffinity() 2015-12-16 09:00:48 -07:00
libxl_driver.c fix api changes in xen restore 2014-12-23 10:28:01 -07:00
libxl_driver.h maint: don't use config.h in .h files 2013-06-05 05:53:25 -06:00