From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhigang Wang Subject: Re: First release candidate for 3.1.3 Date: Thu, 24 Jan 2008 11:02:05 +0800 Message-ID: <4797FFAD.3080007@oracle.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080900080401000708050709" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------080900080401000708050709 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 --------------080900080401000708050709 Content-Type: text/x-patch; name="block-losetup-readonly.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="block-losetup-readonly.patch" 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" --------------080900080401000708050709 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------080900080401000708050709--