[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/4] qcow2: Require that the virtual size is a multiple of
Re: [PATCH v2 1/4] qcow2: Require that the virtual size is a multiple of the sector size
Tue, 14 Jan 2020 14:20:40 +0100
Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu)
On Tue 14 Jan 2020 02:01:03 PM CET, Max Reitz wrote:
>> However when an image is opened the virtual size is rounded down,
>> which means that trying to access the last few advertised bytes will
>> result in an error. As seen above QEMU cannot create such images and
>> there's no good use case that would require us to try to handle them
>> so let's just treat them as unsupported.
> But isn’t that just a bug in qemu?
Yes, but does it make sense to try to support images with unaligned
sizes if no one is going to create them ever and QEMU cannot even
[PATCH v2 4/4] qcow2: Use BDRV_SECTOR_SIZE instead of the hardcoded value, Alberto Garcia, 2020/01/09