[libvirt] [PATCH] libxl: don't break the build on Xen>=4.5 because of libxl_vcpu_setaffinity()

Eric Blake eblake at redhat.com
Mon Jun 30 21:23:51 UTC 2014


On 06/30/2014 03:11 PM, Jim Fehlig wrote:
> Dario Faggioli wrote:
>> 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.
>>   
> 
> Thanks, looks good.  I was about to push, but wanted to check with other
> libvirt devs first since we are in 1.2.6 freeze.  Would it be fine to
> push this?  It fixes a libxl driver build failure against xen-unstable.

Yes, fixing a build failure is an acceptable fix during hard freeze.  Go
ahead and push.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140630/a9631356/attachment-0001.sig>


More information about the libvir-list mailing list