From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfsQL-0006GQ-Fb for qemu-devel@nongnu.org; Fri, 12 Feb 2010 05:06:57 -0500 Received: from [199.232.76.173] (port=59951 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfsQK-0006Fm-Sk for qemu-devel@nongnu.org; Fri, 12 Feb 2010 05:06:56 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfsQK-0000cI-76 for qemu-devel@nongnu.org; Fri, 12 Feb 2010 05:06:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:19599) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NfsQJ-0000cA-QC for qemu-devel@nongnu.org; Fri, 12 Feb 2010 05:06:56 -0500 Message-ID: <4B752806.3040509@redhat.com> Date: Fri, 12 Feb 2010 11:05:58 +0100 From: Kevin Wolf MIME-Version: 1.0 References: <4B713C7B.8040006@redhat.com> In-Reply-To: <4B713C7B.8040006@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH v4] block: more read-only changes, related to backing files List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Naphtali Sprei Cc: qemu-devel@nongnu.org, Sheng Yang Am 09.02.2010 11:44, schrieb Naphtali Sprei: > This version includes handling the case the backing file cannot be re-opened > > > Open backing file read-only where possible > Upgrade backing file to read-write during commit, back to read-only after commit > If upgrade fail, back to read-only. If also fail, "disconnect" the drive. > Added option for qemu-img.c bdrv_new_open() to open file as read-only > > Signed-off-by: Naphtali Sprei Looks good to me, but it needs to be rebased. It doesn't apply to current master any more. Kevin