Kevin Wolf eaa2410f1e block: Require auto-read-only for existing fallbacks
Some block drivers have traditionally changed their node to read-only
mode without asking the user. This behaviour has been marked deprecated
since 2.11, expecting users to provide an explicit read-only=on option.

Now that we have auto-read-only=on, enable these drivers to make use of
the option.

This is the only use of bdrv_set_read_only(), so we can make it a bit
more specific and turn it into a bdrv_apply_auto_read_only() that is
more convenient for drivers to use.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2018-11-05 15:09:55 +01:00
..
2018-07-10 16:01:52 +02:00
2018-08-31 16:28:33 +02:00
2018-08-15 12:50:39 +02:00
2016-10-07 14:14:06 +02:00
2018-09-25 15:50:15 +02:00
2018-07-05 10:29:19 +02:00
2018-08-15 12:50:39 +02:00
2018-10-12 09:46:14 +08:00
2018-02-09 05:05:11 +01:00
2018-07-10 17:28:29 +01:00
2017-07-17 11:34:11 +08:00
2018-08-15 12:50:39 +02:00
2018-07-10 16:01:52 +02:00
2018-11-05 15:09:54 +01:00
2018-06-15 14:49:44 +02:00