From: Thiemo Seufer <ths@networkno.de>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: qemu-devel@nongnu.org, Ivan Kalvachev <ikalvachev@gmail.com>
Subject: Re: [Qemu-devel] [PATCH] Physical hard disk drive for win32
Date: Wed, 24 Oct 2007 13:33:44 +0100 [thread overview]
Message-ID: <20071024123344.GA6666@networkno.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0710241101060.25221@racer.site>
Johannes Schindelin wrote:
> Hi,
>
> On Wed, 24 Oct 2007, Ivan Kalvachev wrote:
>
> > 2007/10/22, Stefan Weil <weil@mail.berlios.de>:
> > > 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 is not just that. You'll have to guard the new ioctl within #ifdef's
> so that it still compiles on MinGW, even if that version does not define
> the constant.
>
> Staying backwards compatible in this case is so easy, it is not even
> funny. (And certainly no reason to groan over having to support it.)
A undirected remark to the general public: If somebody comes up with a
patch for better backward compatibility I'll certainly consider it.
Thiemo
>
next prev parent reply other threads:[~2007-10-24 12:34 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 [this message]
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=20071024123344.GA6666@networkno.de \
--to=ths@networkno.de \
--cc=Johannes.Schindelin@gmx.de \
--cc=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).