[libvirt] [PATCH] maint: prepare for next release number

Eric Blake eblake at redhat.com
Mon Oct 15 21:20:06 UTC 2012


Given Daniel's announcement[1], code targetting the next release will
be in 1.0.0, not 0.10.3.  Changed mechanically with:

for f in $(git grep -l '0\(.\)10\13\b') ; do
   sed -i -e 's/0\(.\)10\13/1\10\10/g' $f
done

[1]https://www.redhat.com/archives/libvir-list/2012-October/msg00403.html

* docs/formatdomain.html.in: Use 1.0.0 for next release.
* src/interface/interface_backend_udev.c: Likewise.
---

Any objections?

 docs/formatdomain.html.in              |  4 ++--
 src/interface/interface_backend_udev.c | 20 ++++++++++----------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 1ae8cf4..ad8a41b 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -989,7 +989,7 @@

     <p>
       The <code>on_lockfailure</code> element (<span class="since">since
-      0.10.3</span>) may be used to configure what action should be
+      1.0.0</span>) may be used to configure what action should be
       taken when a lock manager loses resource locks. The following
       actions are recognized by libvirt, although not all of them need
       to be supported by individual lock managers. When no action is
@@ -2140,7 +2140,7 @@
       address on the hosts using the <code>address</code> element. PCI devices
       on the other hand can only be described by their <code>address</code>.

-      <span class="since">Since 0.10.3</span>, the <code>source</code> element
+      <span class="since">Since 1.0.0</span>, the <code>source</code> element
       of USB devices may contain <code>startupPolicy</code> attribute which can
       be used to define policy what to do if the specified host USB device is
       not found. The attribute accepts the following values:
diff --git a/src/interface/interface_backend_udev.c b/src/interface/interface_backend_udev.c
index 1cb6dfe..0cb344e 100644
--- a/src/interface/interface_backend_udev.c
+++ b/src/interface/interface_backend_udev.c
@@ -520,16 +520,16 @@ cleanup:

 static virInterfaceDriver udevIfaceDriver = {
     "udev",
-    .open = udevIfaceOpenInterface, /* 0.10.3 */
-    .close = udevIfaceCloseInterface, /* 0.10.3 */
-    .numOfInterfaces = udevIfaceNumOfInterfaces, /* 0.10.3 */
-    .listInterfaces = udevIfaceListInterfaces, /* 0.10.3 */
-    .numOfDefinedInterfaces = udevIfaceNumOfDefinedInterfaces, /* 0.10.3 */
-    .listDefinedInterfaces = udevIfaceListDefinedInterfaces, /* 0.10.3 */
-    .listAllInterfaces = udevIfaceListAllInterfaces, /* 0.10.3 */
-    .interfaceLookupByName = udevIfaceLookupByName, /* 0.10.3 */
-    .interfaceLookupByMACString = udevIfaceLookupByMACString, /* 0.10.3 */
-    .interfaceIsActive = udevIfaceIsActive, /* 0.10.3 */
+    .open = udevIfaceOpenInterface, /* 1.0.0 */
+    .close = udevIfaceCloseInterface, /* 1.0.0 */
+    .numOfInterfaces = udevIfaceNumOfInterfaces, /* 1.0.0 */
+    .listInterfaces = udevIfaceListInterfaces, /* 1.0.0 */
+    .numOfDefinedInterfaces = udevIfaceNumOfDefinedInterfaces, /* 1.0.0 */
+    .listDefinedInterfaces = udevIfaceListDefinedInterfaces, /* 1.0.0 */
+    .listAllInterfaces = udevIfaceListAllInterfaces, /* 1.0.0 */
+    .interfaceLookupByName = udevIfaceLookupByName, /* 1.0.0 */
+    .interfaceLookupByMACString = udevIfaceLookupByMACString, /* 1.0.0 */
+    .interfaceIsActive = udevIfaceIsActive, /* 1.0.0 */
 };

 int
-- 
1.7.11.7




More information about the libvir-list mailing list