Skip to content
Snippets Groups Projects
Commit 08a00559 authored by Kevin Wolf's avatar Kevin Wolf
Browse files

block: Assume raw for drives without media


qemu -cdrom /dev/cdrom with an empty CD-ROM drive doesn't work any more because
we try to guess the format and when this fails (because there is no medium) we
exit with an error message.

This patch should restore the old behaviour by assuming raw format for such
drives.

Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
parent 236f1f67
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment