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

[Xen-devel] [PATCH 09/12] tools/libfsimage: Bump soname to 4.12



This library does not have a stable ABI promise.  As far as we know it
is used only by pygrub.  Bump its soname to the Xen version (and
intend to change it each time).

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
v2: New in this version of the series
---
 tools/libfsimage/common/Makefile                                  | 4 ++--
 tools/libfsimage/common/fsimage.c                                 | 2 +-
 tools/libfsimage/common/{fsimage.h => xenfsimage.h}               | 0
 tools/libfsimage/common/{fsimage_grub.h => xenfsimage_grub.h}     | 0
 tools/libfsimage/common/{fsimage_plugin.h => xenfsimage_plugin.h} | 0
 5 files changed, 3 insertions(+), 3 deletions(-)
 rename tools/libfsimage/common/{fsimage.h => xenfsimage.h} (100%)
 rename tools/libfsimage/common/{fsimage_grub.h => xenfsimage_grub.h} (100%)
 rename tools/libfsimage/common/{fsimage_plugin.h => xenfsimage_plugin.h} (100%)

diff --git a/tools/libfsimage/common/Makefile b/tools/libfsimage/common/Makefile
index a4655c421c..beda8f5f3a 100644
--- a/tools/libfsimage/common/Makefile
+++ b/tools/libfsimage/common/Makefile
@@ -1,8 +1,8 @@
 XEN_ROOT = $(CURDIR)/../../..
 include $(XEN_ROOT)/tools/libfsimage/Rules.mk
 
-MAJOR = 1.0
-MINOR = 0
+MAJOR = 0
+MINOR = 4.12
 
 LDFLAGS-$(CONFIG_SunOS) = -Wl,-M -Wl,mapfile-SunOS
 LDFLAGS-$(CONFIG_Linux) = -Wl,mapfile-GNU
diff --git a/tools/libfsimage/common/fsimage.c 
b/tools/libfsimage/common/fsimage.c
index 21d6c38ac6..5cfa56a84d 100644
--- a/tools/libfsimage/common/fsimage.c
+++ b/tools/libfsimage/common/fsimage.c
@@ -31,7 +31,7 @@
 #include <errno.h>
 #include <pthread.h>
 
-#include "fsimage_plugin.h"
+#include "xenfsimage_plugin.h"
 #include "fsimage_priv.h"
 
 static pthread_mutex_t fsi_lock = PTHREAD_MUTEX_INITIALIZER;
diff --git a/tools/libfsimage/common/fsimage.h 
b/tools/libfsimage/common/xenfsimage.h
similarity index 100%
rename from tools/libfsimage/common/fsimage.h
rename to tools/libfsimage/common/xenfsimage.h
diff --git a/tools/libfsimage/common/fsimage_grub.h 
b/tools/libfsimage/common/xenfsimage_grub.h
similarity index 100%
rename from tools/libfsimage/common/fsimage_grub.h
rename to tools/libfsimage/common/xenfsimage_grub.h
diff --git a/tools/libfsimage/common/fsimage_plugin.h 
b/tools/libfsimage/common/xenfsimage_plugin.h
similarity index 100%
rename from tools/libfsimage/common/fsimage_plugin.h
rename to tools/libfsimage/common/xenfsimage_plugin.h
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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