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 <[email protected]> >> --- >> 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
