From: Paul Durrant <Paul.Durrant@citrix.com>
To: 'Konrad Rzeszutek Wilk' <konrad.wilk@oracle.com>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH] Make it compiler under Xen 4.7.
Date: Mon, 13 Feb 2017 08:46:29 +0000 [thread overview]
Message-ID: <275cf8ac68ae49e09c9b7b90554fd320@AMSPEX02CL03.citrite.net> (raw)
In-Reply-To: <20170210215136.25335-2-konrad.wilk@oracle.com>
> -----Original Message-----
> From: Konrad Rzeszutek Wilk [mailto:konrad.wilk@oracle.com]
> Sent: 10 February 2017 21:52
> To: Paul Durrant <Paul.Durrant@citrix.com>; xen-devel@lists.xenproject.org
> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> Subject: [PATCH] Make it compiler under Xen 4.7.
>
> With b7f76a699dcfadc0a52ab45b33cc72dbf3a69e7b
> Author: Ian Campbell <ian.campbell@citrix.com>
> Date: Mon Jun 1 16:20:09 2015 +0100
>
> tools: Refactor /dev/xen/evtchn wrappers into libxenevtchn.
>
> commit 32486916793fd78a41fc25e53d2b53a5aa0b1bd5
> Author: Ian Campbell <ian.campbell@citrix.com>
> 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@oracle.com>
Thanks for taking the time to send this. I'll incorporate this a.s.a.p.
Acked-by: Paul Durrant <paul.durrant@citrix.com>
>
> ---
> CC: paul.durrant@citrix.com
>
> 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@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-02-13 8:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-10 21:51 [PATCH v1] Make demu.git compiler under Xen 4.7 (and later) Konrad Rzeszutek Wilk
2017-02-10 21:51 ` [PATCH] Make it compiler under Xen 4.7 Konrad Rzeszutek Wilk
2017-02-13 8:46 ` Paul Durrant [this message]
2017-02-14 15:14 ` Konrad Rzeszutek Wilk
2017-02-14 15:21 ` Paul Durrant
2017-02-14 16:02 ` Paul Durrant
2017-02-13 8:58 ` [PATCH v1] Make demu.git compiler under Xen 4.7 (and later) Paul Durrant
2017-02-14 15:16 ` Konrad Rzeszutek Wilk
2017-02-14 15:26 ` Paul Durrant
2017-02-14 15:32 ` Konrad Rzeszutek Wilk
2017-02-14 15:39 ` Paul Durrant
2017-02-14 15:40 ` Konrad Rzeszutek Wilk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=275cf8ac68ae49e09c9b7b90554fd320@AMSPEX02CL03.citrite.net \
--to=paul.durrant@citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).