From af8c67cda36894d2c63eb511d189383f1c26a1e3 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Thu, 23 Feb 2017 16:46:45 +0000 Subject: [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 xen-access build again. Signed-off-by: Wei Liu Acked-by: Ian Jackson Reviewed-by: Paul Durrant Acked-by: Razvan Cojocaru --- 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.30.2