From: Anthony PERARD Date: Thu, 21 Jun 2012 11:44:35 +0000 (+0000) Subject: xenstore: Use X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e108a3c110506faf3ef43448be3e0d39ef0ead8f;p=qmiga%2Fqemu.git xenstore: Use In the next release of Xen (4.2), xs.h became deprecated. Signed-off-by: Anthony PERARD Signed-off-by: Stefano Stabellini --- diff --git a/configure b/configure index b68c0ca194..c4e49602b9 100755 --- a/configure +++ b/configure @@ -1381,7 +1381,7 @@ EOF elif ( cat > $TMPC < -#include +#include #include #include #if !defined(HVM_MAX_VCPUS) diff --git a/hw/xen_common.h b/hw/xen_common.h index fe7f227f92..cc99204e8b 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"