qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 4/6] libqblock internal used functions


From: Wenchao Xia
Subject: Re: [Qemu-devel] [PATCH 4/6] libqblock internal used functions
Date: Mon, 10 Sep 2012 16:23:11 +0800
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120824 Thunderbird/15.0

Using unit byte now, thanks.

Am 04.09.2012 15:49, schrieb Paolo Bonzini:
Il 04/09/2012 13:38, Eric Blake ha scritto:
Since qemu does not support it now, yes, you can ignore it for now.  But
please make sure that you aren't hard-coding it into the API - that is,
make sure that the API can someday grow to support larger sector sizes
with minimal impact to library clients (that is, that new clients aware
of the new API can target larger sector size once qemu has been patched
to support larger sector size).

We can support 4k sector disks even if the addressing unit remains 512
bytes, just like in the Linux kernel.

Why should we even use an arbitrary unit like 512 bytes for addressing?
To me using byte granularity everywhere makes more sense and is clearer.

Kevin



--
Best Regards

Wenchao Xia




reply via email to

[Prev in Thread] Current Thread [Next in Thread]