Re: [Qemu-devel] [PATCH v2 2/8] block: Add auto-read-only option

2018-10-16 Thread Eric Blake
On 10/15/18 4:37 AM, Kevin Wolf wrote: Am 12.10.2018 um 18:47 hat Eric Blake geschrieben: On 10/12/18 6:55 AM, Kevin Wolf wrote: If a management application builds the block graph node by node, the protocol layer doesn't inherit its read-only option from the format layer any more, so it must be

Re: [Qemu-devel] [PATCH v2 2/8] block: Add auto-read-only option

2018-10-15 Thread Kevin Wolf
Am 12.10.2018 um 18:47 hat Eric Blake geschrieben: > On 10/12/18 6:55 AM, Kevin Wolf wrote: > > If a management application builds the block graph node by node, the > > protocol layer doesn't inherit its read-only option from the format > > layer any more, so it must be set explicitly. > > > > >

Re: [Qemu-devel] [PATCH v2 2/8] block: Add auto-read-only option

2018-10-12 Thread Eric Blake
On 10/12/18 6:55 AM, Kevin Wolf wrote: If a management application builds the block graph node by node, the protocol layer doesn't inherit its read-only option from the format layer any more, so it must be set explicitly. The documentation for this option is consciously phrased in a way that

[Qemu-devel] [PATCH v2 2/8] block: Add auto-read-only option

2018-10-12 Thread Kevin Wolf
If a management application builds the block graph node by node, the protocol layer doesn't inherit its read-only option from the format layer any more, so it must be set explicitly. Backing files should work on read-only storage, but at the same time, a block job like commit should be able to reo