Re: [Qemu-devel] Raw CD-ROM and hard disk for win32

2006-08-08 Thread Kazu
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 pa

Re: [Qemu-devel] Raw CD-ROM and hard disk for win32

2006-08-07 Thread Fabrice Bellard
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 ? 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 sy

[Qemu-devel] Raw CD-ROM and hard disk for win32

2006-08-06 Thread Kazu
Hi, An attached patch fixes raw CD-ROM and hard disk handling for win32. Qcow is not fixed. Regards, Kazu qemu-20060807-cdrom.patch Description: Binary data ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qem