This can be left to the userspace to pass as an option, to optimize for 
relevant guests, since the one running the userspace probably knows which OS he 
will run on it, so he can pass "-sector64" as an optimization. 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of H. Peter Anvin
Sent: Thursday, September 04, 2008 6:57 AM
To: Liu Yu-B13201
Cc: Avi Kivity; KVM list
Subject: Re: 63 sectors

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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
N�����r��y����b�X��ǧv�^�)޺{.n�+����h����ܨ}���Ơz�&j:+v�������zZ+��+zf���h���~����i���z��w���?�����&�)ߢf

Reply via email to