diff options
| author | Kevin Wolf | 2018-10-17 18:24:30 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2018-11-05 15:09:55 +0100 |
| commit | 9384a444f6ebcd66bba0ae3c8434120d03c8dfea (patch) | |
| tree | 9e54a99750e7c647dcf16aae33668ed64aa23eea /include | |
| parent | iscsi: Support auto-read-only option (diff) | |
| download | qemu-9384a444f6ebcd66bba0ae3c8434120d03c8dfea.tar.gz qemu-9384a444f6ebcd66bba0ae3c8434120d03c8dfea.tar.xz qemu-9384a444f6ebcd66bba0ae3c8434120d03c8dfea.zip | |
block: Make auto-read-only=on default for -drive
While we want machine interfaces like -blockdev and QMP blockdev-add to
add as little auto-detection as possible so that management tools are
explicit about their needs, -drive is a convenience option for human
users. Enabling auto-read-only=on by default there enables users to use
read-only images for read-only guest devices without having to specify
read-only=on explicitly. If they try to attach the image to a read-write
device, they will still get an error message.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
