2007/10/22, Stefan Weil <[EMAIL PROTECTED]>: > 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.