[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] iscsi: Handle write protected case in reopen
From: |
Peter Lieven |
Subject: |
Re: [Qemu-devel] [PATCH] iscsi: Handle write protected case in reopen |
Date: |
Fri, 27 Feb 2015 18:41:24 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
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 <address@hidden>
>> ---
>> 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