diff options
author | Kevin Wolf | 2013-09-19 15:12:18 +0200 |
---|---|---|
committer | Kevin Wolf | 2013-10-11 16:50:02 +0200 |
commit | 0ebd24e0a203cf2852c310b59fbe050190dc6c8c (patch) | |
tree | 96b08ce87f22d94abe4d885e46a6662cbd0908f8 /scripts | |
parent | blockdev: Remove 'media' parameter from blockdev_init() (diff) | |
download | qemu-0ebd24e0a203cf2852c310b59fbe050190dc6c8c.tar.gz qemu-0ebd24e0a203cf2852c310b59fbe050190dc6c8c.tar.xz qemu-0ebd24e0a203cf2852c310b59fbe050190dc6c8c.zip |
blockdev: Don't disable COR automatically with blockdev-add
If a read-only device is configured with copy-on-read=on, the old code
only prints a warning and automatically disables copy on read. Make it
a real error for blockdev-add.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions