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