> -----Original Message-----
> From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of
> Wei Liu
> Sent: 23 February 2017 16:47
> To: Xen-devel <xen-de...@lists.xenproject.org>
> Cc: Ian Jackson <ian.jack...@citrix.com>; Tamas K Lengyel
> <ta...@tklengyel.com>; Wei Liu <wei.l...@citrix.com>; Razvan Cojocaru
> <rcojoc...@bitdefender.com>
> Subject: [Xen-devel] [PATCH] xen-access: request compat devicemodel API
> 
> xc_hvm_inject_trap is moved to the new libdevicemodel. Request the
> compat layer from libxenctrl for now to make it build again.
> 
> Signed-off-by: Wei Liu <wei.l...@citrix.com>
> ---
> Cc: Ian Jackson <ian.jack...@eu.citrix.com>
> Cc: Razvan Cojocaru <rcojoc...@bitdefender.com>
> Cc: Tamas K Lengyel <ta...@tklengyel.com>
> 
> This patch is urgent to unblock staging build.
> 
> Another way of fixing this is to actually use the new function. I'm not
> too fussed about this.

Reviewed-by: Paul Durrant <paul.durr...@citrix.com>

> ---
>  tools/tests/xen-access/Makefile | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tools/tests/xen-access/Makefile b/tools/tests/xen-
> access/Makefile
> index 25ff4694c5..e11f639ccf 100644
> --- a/tools/tests/xen-access/Makefile
> +++ b/tools/tests/xen-access/Makefile
> @@ -2,6 +2,7 @@ XEN_ROOT=$(CURDIR)/../../..
>  include $(XEN_ROOT)/tools/Rules.mk
> 
>  CFLAGS += -Werror
> +CFLAGS += -DXC_WANT_COMPAT_DEVICEMODEL_API
> 
>  CFLAGS += $(CFLAGS_libxenctrl)
>  CFLAGS += $(CFLAGS_libxenguest)
> --
> 2.11.0
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> https://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to