Re: [PATCH v7 32/32] iotests: Add tests for qcow2 images with extended L2 entries

2020-05-29 Thread Eric Blake
On 5/29/20 10:07 AM, Alberto Garcia wrote: On Wed 27 May 2020 08:30:06 PM CEST, Eric Blake wrote: +offset=$(($offset + 8)) +bitmap=`peek_file_be "$TEST_IMG" $offset 8` + +expected_bitmap=0 +for bit in $expected_alloc; do +expected_bitmap=$(($expected_bitmap | (1 << $bit))

Re: [PATCH v7 32/32] iotests: Add tests for qcow2 images with extended L2 entries

2020-05-29 Thread Alberto Garcia
On Wed 27 May 2020 08:30:06 PM CEST, Eric Blake wrote: >> +offset=$(($offset + 8)) >> +bitmap=`peek_file_be "$TEST_IMG" $offset 8` >> + >> +expected_bitmap=0 >> +for bit in $expected_alloc; do >> +expected_bitmap=$(($expected_bitmap | (1 << $bit))) >> +done >> +for b

Re: [PATCH v7 32/32] iotests: Add tests for qcow2 images with extended L2 entries

2020-05-27 Thread Eric Blake
On 5/25/20 1:08 PM, Alberto Garcia wrote: Signed-off-by: Alberto Garcia --- tests/qemu-iotests/271 | 705 + tests/qemu-iotests/271.out | 603 +++ tests/qemu-iotests/group | 1 + 3 files changed, 1309 insertions(+) cre

[PATCH v7 32/32] iotests: Add tests for qcow2 images with extended L2 entries

2020-05-25 Thread Alberto Garcia
Signed-off-by: Alberto Garcia --- tests/qemu-iotests/271 | 705 + tests/qemu-iotests/271.out | 603 +++ tests/qemu-iotests/group | 1 + 3 files changed, 1309 insertions(+) create mode 100755 tests/qemu-iotests/271 create mo