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

[Xen-changelog] [xen master] tools: libxendevicemodel: Restore symbol versions for 1.0



commit 4ed00f57f086c589a95fdd17ace43e02fee2be34
Author:     Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
AuthorDate: Tue Oct 17 17:52:02 2017 +0100
Commit:     Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
CommitDate: Wed Oct 18 10:54:23 2017 +0100

    tools: libxendevicemodel: Restore symbol versions for 1.0
    
    In 1462f9ea8f4219d520a530787b80c986e050aa98
    "tools: libxendevicemodel: Provide xendevicemodel_shutdown"
    we added a new version 1.1 to the symbol map and simply abolished
    the old one.  That is quite wrong.
    
    Instead, we should have left the 1.0 map alone and added a new version
    which simply adds the new symbol.
    
    Fix this.
    
    Reported-by: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>
    CC: Stefano Stabellini <sstabellini@xxxxxxxxxx>
    Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
    Reviewed-by: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>
    Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
    Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
 tools/libs/devicemodel/libxendevicemodel.map | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/tools/libs/devicemodel/libxendevicemodel.map 
b/tools/libs/devicemodel/libxendevicemodel.map
index b0765fa..cefd32b 100644
--- a/tools/libs/devicemodel/libxendevicemodel.map
+++ b/tools/libs/devicemodel/libxendevicemodel.map
@@ -1,4 +1,4 @@
-VERS_1.1 {
+VERS_1.0 {
        global:
                xendevicemodel_open;
                xendevicemodel_create_ioreq_server;
@@ -18,8 +18,12 @@ VERS_1.1 {
                xendevicemodel_modified_memory;
                xendevicemodel_set_mem_type;
                xendevicemodel_inject_event;
-               xendevicemodel_shutdown;
                xendevicemodel_restrict;
                xendevicemodel_close;
        local: *; /* Do not expose anything by default */
 };
+
+VERS_1.1 {
+       global:
+               xendevicemodel_shutdown;
+} 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®.