Skip to contentSkip to conversation

First release candidate for 3.1.3

DISCUSSION Keir Fraser 2 participants 2 messages Jan 18, 2008 – Jan 24, 2008

lore
Share & tools
lore
#0 lore raw

Now that 3.2.0 is released, it seems a good time to bundle up all the bug fixes from that release effort for 3.1 branch. I've backported everything I think is appropriate and I've tagged 3.1.3-rc1. This is in the staging tree and will move to the main tree after automated testing has finished.

Please test!

-- Keir

#1 lore raw
Quoted 9 lines · Keir Fraser

Now that 3.2.0 is released, it seems a good time to bundle up all the bug fixes from that release effort for 3.1 branch. I've backported everything I think is appropriate and I've tagged 3.1.3-rc1. This is in the staging tree and will move to the main tree after automated testing has finished.

Please test!

-- Keir

Keir,

would please pull in xen-3.2-testing changeset: 16330:fbe7ed173314 and 16642:643ab64d12d5 (block script enhancement, add losetup -r support) into xen-3.1.3?

or you can just apply the attached patch.

thanks,

zhigang

block script enhancement: make use of the -r option of losetup for looping back images on readonly nfs.

xen-3.2-testing changeset: 16330:fbe7ed173314 and 16642:643ab64d12d5

tools/examples/block renamed from tools/examples/block.orig +7 -1
@@ -367,7 +367,13 @@
           fatal 'Failed to find an unused loop device'
         fi
 
-        do_or_die losetup "$loopdev" "$file"
+        if LANG=C losetup -h 2>&1 | grep read-only >/dev/null
+        then
+          roflag="-$mode"; roflag="${roflag#-w}"
+        else
+          roflag=''
+        fi
+        do_or_die losetup $roflag "$loopdev" "$file"
         xenstore_write "$XENBUS_PATH/node" "$loopdev"
         write_dev "$loopdev"
         release_lock "block"

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel