[libvirt] [PATCH] Fix compilation of legacy xen driver with Xen 4.2
Jim Fehlig
jfehlig at suse.com
Thu Sep 27 16:30:10 UTC 2012
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.
More information about the libvir-list
mailing list