Skip to contentSkip to conversation

xen-access: request compat devicemodel API

PATCH In review Wei Liu 4 participants 5 messages Feb 23, 2017

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

PATCH 1/1 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.

---
Cc: Ian Jackson <[email protected]>
Cc: Razvan Cojocaru <[email protected]>
Cc: Tamas K Lengyel <[email protected]>

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(+)
tools/tests/xen-access/Makefile +1 -0
index 25ff4694c5..e11f639ccf 100644
@@ -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)
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Reviewed-by on v1 1/1
#2 lore raw
In reply to Wei Liu
Quoted 19 lines

-----Original Message-----
From: Xen-devel [mailto:[email protected]] On Behalf Of Wei Liu
Sent: 23 February 2017 16:47
To: Xen-devel <[email protected]>
Cc: Ian Jackson <[email protected]>; Tamas K Lengyel <[email protected]>; Wei Liu <[email protected]>; Razvan Cojocaru <[email protected]>
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.

---
Cc: Ian Jackson <[email protected]>
Cc: Razvan Cojocaru <[email protected]>
Cc: Tamas K Lengyel <[email protected]>

Quoted 4 lines

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.

Quoted 21 lines
---
 tools/tests/xen-access/Makefile | 1 +
 1 file changed, 1 insertion(+)
tools/tests/xen- renamed from tools/tests/xen-access/Makefile +0 -0

access/Makefile
index 25ff4694c5..e11f639ccf 100644

tools/tests/xen-access/Makefile +1 -1
@@ -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

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

Acked-by on v1 1/1
#3 lore raw
In reply to Wei Liu
Quoted 9 lines · Wei Liu

xc_hvm_inject_trap is moved to the new libdevicemodel. Request the compat layer from libxenctrl for now to make it build again.

---
Cc: Ian Jackson <[email protected]>
Cc: Razvan Cojocaru <[email protected]>
Cc: Tamas K Lengyel <[email protected]>

Quoted 4 lines

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.

No argument from me.

Thanks,
Razvan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#4 lore raw
Quoted 10 lines · Razvan Cojocaru
Quoted 9 lines · Wei Liu

xc_hvm_inject_trap is moved to the new libdevicemodel. Request the compat layer from libxenctrl for now to make it build again.

---
Cc: Ian Jackson <[email protected]>
Cc: Razvan Cojocaru <[email protected]>
Cc: Tamas K Lengyel <[email protected]>

Quoted 9 lines
Quoted 4 lines

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.

No argument from me.

Pushed.

Quoted 4 lines

Thanks,
Razvan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel