Re: [Qemu-devel] [PATCH v3] iotests: Test abnormally large size in compressed cluster descriptor

2018-03-06 Thread Alberto Garcia
ping On Mon 26 Feb 2018 03:36:23 PM CET, Alberto Garcia wrote: > L2 entries for compressed clusters have a field that indicates the > number of sectors used to store the data in the image. > > That's however not the size of the compressed data itself, just the > number of sectors where that data

Re: [Qemu-devel] [PATCH v3] iotests: Test abnormally large size in compressed cluster descriptor

2018-02-26 Thread Alberto Garcia
On Mon 26 Feb 2018 04:12:22 PM CET, Eric Blake wrote: >> +# Create an empty image, fill half of it with data and compress it. >> +# The L2 entries of the two compressed clusters are located at >> +# 0x80 and 0x88, their original values are 0x400800a0 >> +# and 0x400800a00802 (5

Re: [Qemu-devel] [PATCH v3] iotests: Test abnormally large size in compressed cluster descriptor

2018-02-26 Thread Eric Blake
On 02/26/2018 08:36 AM, Alberto Garcia wrote: L2 entries for compressed clusters have a field that indicates the number of sectors used to store the data in the image. One consequence of this is that even if the size field is larger than it needs to be QEMU can handle it just fine: it will