From: "H. Peter Anvin" <hpa@zytor.com>
To: Liu Yu-B13201 <Yu.Liu@freescale.com>
Cc: Avi Kivity <avi@qumranet.com>, KVM list <kvm@vger.kernel.org>
Subject: Re: 63 sectors
Date: Wed, 03 Sep 2008 20:56:56 -0700 [thread overview]
Message-ID: <48BF5C88.50604@zytor.com> (raw)
In-Reply-To: <C6FABC699EA2354EB260110329F4B3550D427C@zch01exm26.fsl.freescale.net>
Liu Yu-B13201 wrote:
>>
>> Liu Yu-B13201 wrote:
>>> How about adding 1 sector offset when access disk image.
>>> So that it looks like the 63rd sector, but it's indeed the 64th.
>> The problem with that is you make it suck on OSes which actually
>> partition sanely.
>
> You mean guest OSes?
> Guest OSes never know this offset, adding one sector offset is in qemu and transparent to them.
I mean guest OSes.
And no, they won't know the difference, but you are suggesting
optimizing for guest OSes who are legacy/broken *AT THE EXPENSE* of
guest OSes who do things sanely.
As partition and install utilities get a clue, there are going to be
less of the former and more of the latter.
-hpa
next prev parent reply other threads:[~2008-09-04 3:57 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-03 8:12 63 sectors Avi Kivity
2008-09-03 8:35 ` David Mair
2008-09-03 9:32 ` Avi Kivity
2008-09-03 11:26 ` Gerd Hoffmann
2008-09-04 8:49 ` Gerd Hoffmann
2008-09-03 16:15 ` H. Peter Anvin
2008-09-04 3:20 ` Liu Yu-B13201
2008-09-04 3:33 ` H. Peter Anvin
2008-09-04 3:39 ` Liu Yu-B13201
2008-09-04 3:56 ` H. Peter Anvin [this message]
2008-09-04 7:47 ` Itamar Heim
2008-09-07 8:20 ` Avi Kivity
2008-09-04 8:58 ` Ian Kirk
2008-09-04 11:15 ` Laurent Vivier
2008-09-04 12:18 ` H. Peter Anvin
2008-09-04 13:56 ` H. Peter Anvin
2008-09-04 17:56 ` Charles Duffy
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=48BF5C88.50604@zytor.com \
--to=hpa@zytor.com \
--cc=Yu.Liu@freescale.com \
--cc=avi@qumranet.com \
--cc=kvm@vger.kernel.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