Sent: Tuesday, August 08, 2006 3:31 AM Fabrice Bellard wrote: > Hi, > > I find it strange that there is no win32 API to know the size of a > CD-ROM. Maybe a CD-ROM specific IOCTL exists ? >
Yes, it does. An attached patch gets a size of raw CD-ROM and raw hard disk. > About the windows device patch detection, I would like a more precise > test than "len == 5". Testing if the filename begins with "\\.\" would > be better. Supporting also the syntax "/dev/cdrom" would be good too. > It is necessary to set drive letter to use CD-ROM. When -cdrom /dev/cdrom is set, the first CD-ROM drive is used in the patch. Regards, Kazu
qemu-20060809-cdrom.patch
Description: Binary data
_______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel