[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] Make it compiler under Xen 4.7.
With b7f76a699dcfadc0a52ab45b33cc72dbf3a69e7b Author: Ian Campbell <ian.campbell@xxxxxxxxxx> Date: Mon Jun 1 16:20:09 2015 +0100 tools: Refactor /dev/xen/evtchn wrappers into libxenevtchn. commit 32486916793fd78a41fc25e53d2b53a5aa0b1bd5 Author: Ian Campbell <ian.campbell@xxxxxxxxxx> Date: Thu Jun 18 16:30:19 2015 +0100 tools: Refactor foreign memory mapping into libxenforeignmemory We need to use the compat layer. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> --- CC: paul.durrant@xxxxxxxxxx v1: First version --- demu.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/demu.c b/demu.c index 2933efb..7d73a69 100644 --- a/demu.c +++ b/demu.c @@ -56,7 +56,12 @@ #include <locale.h> +#define XC_WANT_COMPAT_MAP_FOREIGN_API 1 +#define XC_WANT_COMPAT_EVTCHN_API 1 + #include <xenctrl.h> +#include <xenctrl_compat.h> + #include <xen/hvm/ioreq.h> #include "debug.h" @@ -126,7 +131,7 @@ typedef enum { typedef struct demu_state { demu_seq_t seq; xc_interface *xch; - xc_interface *xceh; + xc_evtchn *xceh; domid_t domid; unsigned int vcpus; ioservid_t ioservid; -- 2.9.3 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |