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

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



Eric Blake wrote:
> 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.
>   

Thanks.  I've pushed this and the fix for xen sysctl 9.


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