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>
This commit is contained in:
parent
b41f671972
commit
e108a3c110
|
@ -1381,7 +1381,7 @@ EOF
|
||||||
elif (
|
elif (
|
||||||
cat > $TMPC <<EOF
|
cat > $TMPC <<EOF
|
||||||
#include <xenctrl.h>
|
#include <xenctrl.h>
|
||||||
#include <xs.h>
|
#include <xenstore.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <xen/hvm/hvm_info_table.h>
|
#include <xen/hvm/hvm_info_table.h>
|
||||||
#if !defined(HVM_MAX_VCPUS)
|
#if !defined(HVM_MAX_VCPUS)
|
||||||
|
|
|
@ -7,7 +7,11 @@
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
#include <xenctrl.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 <xen/io/xenbus.h>
|
||||||
|
|
||||||
#include "hw.h"
|
#include "hw.h"
|
||||||
|
|
Loading…
Reference in New Issue