diff options
author | Kevin Wolf | 2019-01-22 13:15:31 +0100 |
---|---|---|
committer | Kevin Wolf | 2019-02-01 13:46:45 +0100 |
commit | 8be25de64315ef768353eb61f2b2bf6cddc34230 (patch) | |
tree | e4518f8381e52df07719146e77bf600e763ac0af /tests/test-qapi-util.c | |
parent | uuid: Make qemu_uuid_bswap() take and return a QemuUUID (diff) | |
download | qemu-8be25de64315ef768353eb61f2b2bf6cddc34230.tar.gz qemu-8be25de64315ef768353eb61f2b2bf6cddc34230.tar.xz qemu-8be25de64315ef768353eb61f2b2bf6cddc34230.zip |
block: Apply auto-read-only for ro-whitelist drivers
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 read-only
whitelist.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/test-qapi-util.c')
0 files changed, 0 insertions, 0 deletions