tools: libxendevicemodel: Restore symbol versions for 1.0

In 1462f9ea8f
"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@citrix.com>
CC: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Reviewed-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
Ian Jackson authored and Ian Jackson committed 2017-10-18 10:54:23 +01:00
1 parent c4efa25058
commit 4ed00f57f0
1 file changed
+6 -2
+6 -2
View File
@@ -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;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.