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: NDario 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>
Showing
-
mentioned in commit 322a5319
-
mentioned in commit 7ceeb5e4
-
mentioned in commit f8cd0273
-
mentioned in commit 57bd153f
-
mentioned in commit 36460fb1
-
mentioned in commit a2a89a36
-
mentioned in commit 7f6b0960
-
mentioned in commit 660311b2
-
mentioned in commit 5500d6e6
-
mentioned in commit 6958f18c
-
mentioned in commit 57b6cfaf
想要评论请 注册 或 登录