xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xen-access: request compat devicemodel API
@ 2017-02-23 16:46 Wei Liu
  2017-02-23 17:00 ` Ian Jackson
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Wei Liu @ 2017-02-23 16:46 UTC (permalink / raw)
  To: Xen-devel; +Cc: Ian Jackson, Tamas K Lengyel, Wei Liu, Razvan Cojocaru

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.liu2@citrix.com>
---
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Razvan Cojocaru <rcojocaru@bitdefender.com>
Cc: Tamas K Lengyel <tamas@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.
---
 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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-02-23 17:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-23 16:46 [PATCH] xen-access: request compat devicemodel API Wei Liu
2017-02-23 17:00 ` Ian Jackson
2017-02-23 17:00 ` Paul Durrant
2017-02-23 17:18 ` Razvan Cojocaru
2017-02-23 17:21   ` Wei Liu

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).