aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2018-10-17 18:24:30 +0200
committerKevin Wolf <kwolf@redhat.com>2018-11-05 15:09:55 +0100
commit9384a444f6ebcd66bba0ae3c8434120d03c8dfea (patch)
tree9e54a99750e7c647dcf16aae33668ed64aa23eea /util
parent8f3bf50d340372662a35564c669e567c6c846943 (diff)
downloadqemu-9384a444f6ebcd66bba0ae3c8434120d03c8dfea.zip
qemu-9384a444f6ebcd66bba0ae3c8434120d03c8dfea.tar.gz
qemu-9384a444f6ebcd66bba0ae3c8434120d03c8dfea.tar.bz2
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 'util')
0 files changed, 0 insertions, 0 deletions