From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YROus-00013n-BM for qemu-devel@nongnu.org; Fri, 27 Feb 2015 12:41:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YROup-0004H7-8p for qemu-devel@nongnu.org; Fri, 27 Feb 2015 12:41:34 -0500 Received: from mx-v6.kamp.de ([2a02:248:0:51::16]:48113 helo=mx01.kamp.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YROuo-0004F6-UE for qemu-devel@nongnu.org; Fri, 27 Feb 2015 12:41:31 -0500 Message-ID: <54F0AC44.7070408@kamp.de> Date: Fri, 27 Feb 2015 18:41:24 +0100 From: Peter Lieven MIME-Version: 1.0 References: <1424839208-5195-1-git-send-email-famz@redhat.com> <54F07D20.6090800@redhat.com> In-Reply-To: <54F07D20.6090800@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] iscsi: Handle write protected case in reopen List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , Fam Zheng , qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi , Ronnie Sahlberg Am 27.02.2015 um 15:20 schrieb Paolo Bonzini: > > On 25/02/2015 05:40, Fam Zheng wrote: >> Save the write protected flag and check before reopen. >> >> Signed-off-by: Fam Zheng >> --- >> block/iscsi.c | 20 +++++++++++--------- >> 1 file changed, 11 insertions(+), 9 deletions(-) >> >> diff --git a/block/iscsi.c b/block/iscsi.c >> index 12ddbfb..00041bf 100644 >> --- a/block/iscsi.c >> +++ b/block/iscsi.c >> @@ -65,6 +65,7 @@ typedef struct IscsiLun { >> unsigned long *allocationmap; >> int cluster_sectors; >> bool use_16_for_rw; >> + bool write_proteced; > Corrected to "write_protecTed" and applied. Is this a bug fix? qemu-stable? Peter