Re: [Qemu-devel] [PATCH 3/8] raw: Reflect read-only protocol layer

2017-11-07 Thread Kevin Wolf
Am 07.11.2017 um 12:00 hat Paolo Bonzini geschrieben: > On 07/11/2017 04:02, Eric Blake wrote: > > We forbid operations like a zero-length write zero or a discard > > at the protocol layer when it is marked read-only, but those > > same operations were succeeding at the format layer because the > >

Re: [Qemu-devel] [PATCH 3/8] raw: Reflect read-only protocol layer

2017-11-07 Thread Paolo Bonzini
On 07/11/2017 04:02, Eric Blake wrote: > We forbid operations like a zero-length write zero or a discard > at the protocol layer when it is marked read-only, but those > same operations were succeeding at the format layer because the > raw format was not reflecting the underlying read-only status >

[Qemu-devel] [PATCH 3/8] raw: Reflect read-only protocol layer

2017-11-06 Thread Eric Blake
We forbid operations like a zero-length write zero or a discard at the protocol layer when it is marked read-only, but those same operations were succeeding at the format layer because the raw format was not reflecting the underlying read-only status to the block layer, which then took short circui