Re: [Qemu-devel] [PATCH] block: Assume raw for drives without media

2010-06-01 Thread Nicholas A. Bellinger
On Tue, 2010-06-01 at 18:50 +0200, Kevin Wolf wrote: > 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 b

[Qemu-devel] [PATCH] block: Assume raw for drives without media

2010-06-01 Thread Kevin Wolf
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: Kevin Wolf