[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Raw CD-ROM and hard disk for win32
From: |
Kazu |
Subject: |
Re: [Qemu-devel] Raw CD-ROM and hard disk for win32 |
Date: |
Wed, 9 Aug 2006 15:36:05 +0900 |
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