diff options
author | Anthony PERARD <anthony.perard@citrix.com> | 2012-06-21 11:44:35 +0000 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2012-06-21 11:44:35 +0000 |
commit | e108a3c110506faf3ef43448be3e0d39ef0ead8f (patch) | |
tree | 5b762dc030fa3da5882058321d0d834ec5eacf4b /hw/xen_common.h | |
parent | b41f67197208e7b72ba2207473a74b89a821190a (diff) | |
download | qemu-e108a3c110506faf3ef43448be3e0d39ef0ead8f.zip qemu-e108a3c110506faf3ef43448be3e0d39ef0ead8f.tar.gz qemu-e108a3c110506faf3ef43448be3e0d39ef0ead8f.tar.bz2 |
xenstore: Use <xenstore.h>
In the next release of Xen (4.2), xs.h became deprecated.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'hw/xen_common.h')
-rw-r--r-- | hw/xen_common.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hw/xen_common.h b/hw/xen_common.h index fe7f227..cc99204 100644 --- a/hw/xen_common.h +++ b/hw/xen_common.h @@ -7,7 +7,11 @@ #include <inttypes.h> #include <xenctrl.h> -#include <xs.h> +#if CONFIG_XEN_CTRL_INTERFACE_VERSION < 420 +# include <xs.h> +#else +# include <xenstore.h> +#endif #include <xen/io/xenbus.h> #include "hw.h" |