Re: [PATCH] Fix compilation of legacy xen driver with Xen 4.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/26/2012 03:49 PM, Jim Fehlig wrote:
> In Xen 4.2, xs.h is deprecated in favor of xenstore.h.  xs.h now
> contains
> 
> #warning xs.h is deprecated use xenstore.h instead
> #include <xenstore.h>
> 
> which fails compilation when warnings are treated as errors.
> 
> Introduce a configure-time check for xenstore.h and if found,
> use it instead of xs.h.
> ---
>  configure.ac          |    2 ++
>  src/xen/block_stats.c |    6 +++++-
>  src/xen/xs_internal.c |    6 +++++-
>  3 files changed, 12 insertions(+), 2 deletions(-)

ACK.

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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]