diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-09-19 14:24:10 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-10-11 16:50:02 +0200 |
commit | e34ef046412431acf5b4e30762390b4048187bb8 (patch) | |
tree | 351468bba2ad23ae063b7404298908f021359daf /block.c | |
parent | a9b43397a9782d028f45b63fb4affee164f85948 (diff) | |
download | qemu-e34ef046412431acf5b4e30762390b4048187bb8.zip qemu-e34ef046412431acf5b4e30762390b4048187bb8.tar.gz qemu-e34ef046412431acf5b4e30762390b4048187bb8.tar.bz2 |
blockdev: Remove 'media' parameter from blockdev_init()
The remaining users shouldn't be there with blockdev-add and are easy to
move to drive_init().
Bonus bug fix: As a side effect, CD-ROM drives can now use block drivers
on the read-only whitelist without explicitly specifying read-only=on,
even if a format is explicitly specified.
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 'block.c')
0 files changed, 0 insertions, 0 deletions