]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
tools/libxenforeignmemory: bind restrict operation to new version
authorPaul Durrant <paul.durrant@citrix.com>
Mon, 27 Mar 2017 10:51:22 +0000 (11:51 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 27 Mar 2017 11:36:01 +0000 (12:36 +0100)
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.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libs/foreignmemory/libxenforeignmemory.map

index 5c9806cf284fb06a6e00e054241939efd067a5cf..41a88998e30417daadcd6feac3b622a8f9540047 100644 (file)
@@ -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;