Am 22.04.2019 um 17:23 hat Vladimir Sementsov-Ogievskiy geschrieben: > This test checks bug in qcow2_process_discards, fixed by previous > commit. > > Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> > Reviewed-by: Eric Blake <ebl...@redhat.com> > Tested-by: Eric Blake <ebl...@redhat.com>
Doesn't work for me (the exact value probably depends on the file system, I'm testing on XFS): --- /home/kwolf/source/qemu/tests/qemu-iotests/250.out 2019-04-23 10:41:27.972959135 +0200 +++ /home/kwolf/source/qemu/tests/qemu-iotests/250.out.bad 2019-04-23 11:09:48.035092870 +0200 @@ -12,10 +12,10 @@ 0 0xa00000 0x82f00000 TEST_DIR/t.qcow2 0x82a00000 0xa00000 0x500000 TEST_DIR/t.qcow2 virtual size: 2.05 GiB (2202009600 bytes) -disk size: 24 MiB +disk size: 25 MiB cluster_size: 1048576 Image resized. virtual size: 5 MiB (5242880 bytes) -disk size: 9 MiB +disk size: 10 MiB cluster_size: 1048576 *** done Maybe the output of 'qemu-img map -f raw' would be more reliable? Kevin