qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Physical hard disk drive for win32


From: Ivan Kalvachev
Subject: Re: [Qemu-devel] [PATCH] Physical hard disk drive for win32
Date: Wed, 24 Oct 2007 12:46:26 +0300

2007/10/22, Stefan Weil <address@hidden>:
> Ivan Kalvachev schrieb:
> > According to http://msdn2.microsoft.com/en-us/library/aa365171.aspx
> >
> > this function requires Win XP or Vista.
> > Is qemu supported only on these?
> Good question. The old IOCTL_DISK_GET_DRIVE_GEOMETRY
> was also supported for W2K. Will QEMU support W2K as a host
> longer than MS does? It would make things easier if we
> dropped support for W2K hosts.
>
> If we need host support for W2K, I'll check another method
> to get the disk size (reading size of partition 0) and send
> a new patch. Please send your feedback in this case.
>
> I hope we don't need W95 or W98 host support!?

Why not. :P

Anyway, calling the old ioctl code if the new one fails, should be
compatible enough. (and the new structure contains the old one, so no
need of having 2 variables).

It would be even better if somebody finds out what the error for not
supported function is (I don't feel like checking 16000 error codes),
but it is not critical.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]