Skip to contentSkip to conversation

Add libxendevicemodel to rpath-link

PATCH In review Paul Durrant 2 participants 4 messages Feb 22, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Add libxendevicemodel to rpath-link

libxenctrl now depends on this library

--
Cc: Ian Jackson <[email protected]>

---
 xen-hooks.mak | 1 +
 1 file changed, 1 insertion(+)
xen-hooks.mak +1 -0
index c1ea4be..4356f67 100644
@@ -28,6 +28,7 @@ LIBS += -L$(XEN_ROOT)/tools/xenstore -lxenstore
 LIBS += -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/toollog
 LIBS += -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/call
 LIBS += -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/foreignmemory
+LIBS += -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/devicemodel
 
 LDFLAGS := $(CFLAGS) $(LDFLAGS)
 
Signature · 7 lines
2.1.4


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

PATCH 2/2 Request compatibility interface for device model operations

Now that these have been split out of libxenctrl into libxendevicemodel QEMU needs to request the compatibility interface.

--
Cc: Ian Jackson <[email protected]>

---
 xen-hooks.mak | 1 +
 1 file changed, 1 insertion(+)
xen-hooks.mak +1 -0
index 4356f67..0ca868f 100644
@@ -2,6 +2,7 @@ CPPFLAGS+= -I$(XEN_ROOT)/tools/libs/toollog/include
 CPPFLAGS+= -I$(XEN_ROOT)/tools/libs/evtchn/include
 CPPFLAGS+= -I$(XEN_ROOT)/tools/libs/gnttab/include
 CPPFLAGS+= -DXC_WANT_COMPAT_MAP_FOREIGN_API
+CPPFLAGS+= -DXC_WANT_COMPAT_DEVICEMODEL_API
 CPPFLAGS+= -I$(XEN_ROOT)/tools/libxc/include
 CPPFLAGS+= -I$(XEN_ROOT)/tools/xenstore/include
 CPPFLAGS+= -I$(XEN_ROOT)/tools/include
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Acked-by on v1 1/2
#2 lore raw
In reply to Paul Durrant

Paul Durrant writes ("[PATCH 1/2] Add libxendevicemodel to rpath-link"):

Quoted 1 line

libxenctrl now depends on this library

FAOD, this and the next one look like patches against qemu-trad. It's normally a good idea to state this somewhere :-).

There is, AIUI, no forward/backward compatibility provided (at least not for qemu-trad). That is fine, but it means that the qemu-trad patches need to be pushed first, and then the QEMU_TAG update needs to be folded into relevant xen.git commit. So when the series is ready to commit, committers need to coordinate.

Anyway, both patches:

Ian.

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

#3 lore raw
Quoted 7 lines

-----Original Message-----
From: Ian Jackson [mailto:[email protected]]
Sent: 22 February 2017 12:09
To: Paul Durrant <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH 1/2] Add libxendevicemodel to rpath-link

Quoted 5 lines

Paul Durrant writes ("[PATCH 1/2] Add libxendevicemodel to rpath-link"):

Quoted 1 line

libxenctrl now depends on this library

FAOD, this and the next one look like patches against qemu-trad. It's normally a good idea to state this somewhere :-).

Sorry, there was meant to be a patch #0 for that.

Quoted 7 lines

There is, AIUI, no forward/backward compatibility provided (at least not for qemu-trad). That is fine, but it means that the qemu-trad patches need to be pushed first, and then the QEMU_TAG update needs to be folded into relevant xen.git commit. So when the series is ready to commit, committers need to coordinate.

Indeed they do. I'll send the libxl series with URLs and tags pointing at my repos on xenbits and mention in the patch header that these need to be appropriately substituted.

Quoted 4 lines

Anyway, both patches:

Thanks,

Paul

Quoted 1 line

Ian.

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