Re: [Qemu-devel] [PATCH] block: Apply auto-read-only for ro-whitelist drivers

2019-01-24 Thread Stefan Hajnoczi
On Tue, Jan 22, 2019 at 01:19:26PM +0100, Kevin Wolf wrote: > If QEMU was configured with a driver in --block-drv-ro-whitelist, trying > to use that driver read-write resulted in an error message even if > auto-read-only=on was set. > > Consider auto-read-only=on for the whitelist checking and use

Re: [Qemu-devel] [PATCH] block: Apply auto-read-only for ro-whitelist drivers

2019-01-22 Thread Eric Blake
On 1/22/19 6:19 AM, Kevin Wolf wrote: > If QEMU was configured with a driver in --block-drv-ro-whitelist, trying > to use that driver read-write resulted in an error message even if > auto-read-only=on was set. > > Consider auto-read-only=on for the whitelist checking and use it to > automatically

[Qemu-devel] [PATCH] block: Apply auto-read-only for ro-whitelist drivers

2019-01-22 Thread Kevin Wolf
If QEMU was configured with a driver in --block-drv-ro-whitelist, trying to use that driver read-write resulted in an error message even if auto-read-only=on was set. Consider auto-read-only=on for the whitelist checking and use it to automatically degrade to read-only for block drivers on the rea