Skip to contentSkip to conversation

tools/libxenforeignmemory: bind restrict operation to new version

PATCH In review Paul Durrant 2 participants 2 messages Mar 27, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/libxenforeignmemory: bind restrict operation to new version

Commit 5823d6eb "add a call to restrict the handle" added a new function to the foreignmemory API. This API is considered stable and so the new function should be bound to a new version.

This patch creates version 1.1 of the API, dependent on version 1.0, and binds the restrict call to version 1.1. Thus version 1.0 is as it was before the new function was added.

---
Cc: Ian Jackson <[email protected]>
Cc: Wei Liu <[email protected]>
Cc: Andrew Cooper <[email protected]>

---
 tools/libs/foreignmemory/libxenforeignmemory.map | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
tools/libs/foreignmemory/libxenforeignmemory.map +4 -1
index 5c9806c..41a8899 100644
@@ -4,6 +4,9 @@ VERS_1.0 {
 		xenforeignmemory_close;
 		xenforeignmemory_map;
 		xenforeignmemory_unmap;
-		xenforeignmemory_restrict;
 	local: *; /* Do not expose anything by default */
 };
+VERS_1.1 {
+	global:
+		xenforeignmemory_restrict;
+} VERS_1.0;
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Paul Durrant

Commit 5823d6eb "add a call to restrict the handle" added a new function to the foreignmemory API. This API is considered stable and so the new function should be bound to a new version.

This patch creates version 1.1 of the API, dependent on version 1.0, and binds the restrict call to version 1.1. Thus version 1.0 is as it was before the new function was added.

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