From: Anthony PERARD Date: Wed, 27 Jun 2012 10:10:08 +0000 (+0000) Subject: xenstore: Use X-Git-Tag: qemu-xen-4.2.0~4 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c64d5b2a859d81aeccbf036655e9ba67bae095d6;p=qemu-upstream-4.2-testing.git 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 --- 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"