[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] tools/libxenforeignmemory: bind restrict operation to new version



commit 9a7fbdd6925bd6323941ee8a08b3884aa0cef6fe
Author:     Paul Durrant <paul.durrant@xxxxxxxxxx>
AuthorDate: Mon Mar 27 11:51:22 2017 +0100
Commit:     Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Mon Mar 27 12:36:01 2017 +0100

    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.
    
    Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
    Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 tools/libs/foreignmemory/libxenforeignmemory.map | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tools/libs/foreignmemory/libxenforeignmemory.map 
b/tools/libs/foreignmemory/libxenforeignmemory.map
index 5c9806c..41a8899 100644
--- a/tools/libs/foreignmemory/libxenforeignmemory.map
+++ b/tools/libs/foreignmemory/libxenforeignmemory.map
@@ -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;
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.