From: "Ivan Kalvachev" <ikalvachev@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Physical hard disk drive for win32
Date: Mon, 22 Oct 2007 14:33:06 +0300 [thread overview]
Message-ID: <219e947f0710220433l1d652092kd238d6ccb8aeb95a@mail.gmail.com> (raw)
In-Reply-To: <47190FA7.80108@mail.berlios.de>
2007/10/19, Stefan Weil <weil@mail.berlios.de>:
> 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?
next prev parent reply other threads:[~2007-10-22 11:33 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-24 4:01 [Qemu-devel] Physical hard disk drive for win32 Kazu
2006-09-24 9:14 ` Alexey Eremenko
2006-09-24 12:10 ` Kazu
2007-10-19 20:12 ` [Qemu-devel] [PATCH] " Stefan Weil
2007-10-22 11:33 ` Ivan Kalvachev [this message]
2007-10-22 18:25 ` Stefan Weil
2007-10-22 19:07 ` Johannes Schindelin
2007-10-23 0:31 ` Shaddy Baddah
2007-10-23 3:34 ` Jamie Lokier
2007-10-24 9:46 ` Ivan Kalvachev
2007-10-24 10:03 ` Johannes Schindelin
2007-10-24 12:33 ` Thiemo Seufer
2007-10-24 17:32 ` Johannes Schindelin
2007-10-24 18:41 ` Stefan Weil
2007-10-25 0:26 ` Johannes Schindelin
2007-10-25 10:04 ` Thiemo Seufer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=219e947f0710220433l1d652092kd238d6ccb8aeb95a@mail.gmail.com \
--to=ikalvachev@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).