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: Mon, 22 Oct 2007 14:33:06 +0300

2007/10/19, Stefan Weil <address@hidden>:
> Hi,
>
> raw harddisk access for Windows (//./PhysicalDrive0) gives wrong disk sizes.
> You can check this by booting a harddisk with the GRUB bootloader installed
> and using GRUB's geometry command.
>
> The current QEMU code uses IOCTL_DISK_GET_DRIVE_GEOMETRY which is marked
> as obsolete by MS.
>
> The appended patch gives correct results. Please apply it to CVS.
>
> Stefan
>
> Description of block-raw.patch:
>
> * replace IOCTL_DISK_GET_DRIVE_GEOMETRY by IOCTL_DISK_GET_DRIVE_GEOMETRY_EX


According to http://msdn2.microsoft.com/en-us/library/aa365171.aspx
this function requires Win XP or Vista.
Is qemu supported only on these?




reply via email to

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