]> xenbits.xensource.com Git - xen.git/commitdiff
xen-access: request compat devicemodel API
authorWei Liu <wei.liu2@citrix.com>
Thu, 23 Feb 2017 16:46:45 +0000 (16:46 +0000)
committerWei Liu <wei.liu2@citrix.com>
Thu, 23 Feb 2017 17:19:38 +0000 (17:19 +0000)
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 <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
tools/tests/xen-access/Makefile

index 25ff4694c55c7a462d9012e6b83ae40dcabfc52e..e11f639ccf2ac249cafa42645cbb18a32d609a25 100644 (file)
@@ -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)