From c64d5b2a859d81aeccbf036655e9ba67bae095d6 Mon Sep 17 00:00:00 2001 From: Anthony PERARD Date: Wed, 27 Jun 2012 10:10:08 +0000 Subject: [PATCH] xenstore: Use In the next release of Xen (4.2), xs.h became deprecated. upstream-commit: e108a3c110506faf3ef43448be3e0d39ef0ead8f Signed-off-by: Anthony PERARD Signed-off-by: Stefano Stabellini --- configure | 2 +- hw/xen_common.h | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 9e0ea7869..2f6520cbf 100755 --- a/configure +++ b/configure @@ -1314,7 +1314,7 @@ if test "$xen" != "no" ; then # Xen unstable cat > $TMPC < -#include +#include #include #include #if !defined(HVM_MAX_VCPUS) diff --git a/hw/xen_common.h b/hw/xen_common.h index bb5a12fc8..30f914088 100644 --- a/hw/xen_common.h +++ b/hw/xen_common.h @@ -7,7 +7,11 @@ #include #include -#include +#if CONFIG_XEN_CTRL_INTERFACE_VERSION < 420 +# include +#else +# include +#endif #include #include "hw.h" -- 2.39.5