WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] First release candidate for 3.1.3

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] First release candidate for 3.1.3
From: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
Date: Thu, 24 Jan 2008 11:02:05 +0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 23 Jan 2008 19:04:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C3B660F8.1B03B%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C3B660F8.1B03B%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (X11/20071031)
Keir Fraser wrote:
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

--- xen-3.1-testing/tools/examples/block.orig   2008-01-24 10:14:13.000000000 
+0800
+++ xen-3.1-testing/tools/examples/block        2008-01-24 10:15:40.000000000 
+0800
@@ -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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>