History | View | Annotate | Download (1.9 kB)
qemu-iotests: Adjust test result 039
The moved OFLAG_COPIED check in qcow2_check_refcounts results in adifferent output from test 039 (mismatches are now found after thegeneral refcount check (as far as any remain)). This patch adjusts theexpected test result accordingly....
block: add BLOCK_O_CHECK for qemu-img check
Image formats with a dirty bit, like qed and qcow2, repair dirty imagefiles upon open with BDRV_O_RDWR. Performing automatic repair whenqemu-img check runs is not ideal because the bdrv_open() call repairsthe image before the actual bdrv_check() call from qemu-img.c....
qemu-iotests: add 039 qcow2 lazy refcounts test
This tests establishes the basic post-conditions of the qcow2 lazyrefcounts features:
1. If the image was closed normally, it is marked clean.
2. If an allocating write was performed and the image was not closed...
qemu-iotests: Be more flexible with image creation options
qemu-iotests already filters out image creation options that may bepresent or not in order to get the same output in both cases. However,often it only considers the default value of the option. Cover all valid...