From: Stefan Weil <weil@mail.berlios.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Physical hard disk drive for win32
Date: Wed, 24 Oct 2007 20:41:18 +0200 [thread overview]
Message-ID: <471F91CE.9050308@mail.berlios.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0710241823270.25221@racer.site>
Johannes Schindelin schrieb:
> I think I fixed it. Since I am not your regular Windows user (I only use
>
> Windows when I have to), I cannot tell if it works, though.
>
> It is here: http://repo.or.cz/w/qemu/dscho.git?a=shortlog;h=diskgeometry
>
> Any testing (especially the physical drive on Windows < XP) would be very
> much appreciated.
> ...
> Ciao,
> Dscho
With your patch, W2K will still see a wrong disk size.
This is caused by the fact that the size of a modern harddisk
has nothing to do with tracks per cylinder or sectors per track
- it is not simply the product of four values.
You can use a disk to some degree even when some part at
the end is inaccessible, but it is also possible to destroy
it (for example if a partition tool "corrects" the disk
size in the boot sector) or get other kinds of errors.
I prefer a patch which gives correct values for all
Windows versions and will send one as soon as possible.
Even without a patch, the current code in CVS HEAD
still allows compilation using MinGW on any Windows.
QEMU will also run on the same Windows variants as
before. The only thing no longer working on W2K and
older variants is physical hard disk access. I think
this is better than working with a wrong disk size!
Regards,
Stefan
next prev parent reply other threads:[~2007-10-24 18:41 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
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 [this message]
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=471F91CE.9050308@mail.berlios.de \
--to=weil@mail.berlios.de \
--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).