History | View | Annotate | Download (116 Bytes)
qemu-iotests: Fix test 041
Performing multiple drive-mirror blockjobs on the same qemu instanceresults in the image file used for the block device being replaced bythe newly mirrored file, which is not what we want.
Fix this by performing one dedicated test per sync mode....
qemu-iotests: Extend 041 for unbacked mirroring
Add a new test case in file 041 for mirroring unbacked images in"absolute-paths" mode. This should work, if possible, but mostimportantly, qemu should never crash.
Signed-off-by: Max Reitz <mreitz@redhat.com>...
block: Adds mirroring tests for resized images
This test verifies two mirroring issues are fixed with resized images:
mirror: add buf-size argument to drive-mirror
This makes sense when the next commit starts using the extra buffer spaceto perform many I/O operations asynchronously.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
mirror: perform COW if the cluster size is bigger than the granularity
When mirroring runs, the backing files for the target may not yet beready. However, this means that a copy-on-write operation on the targetwould fill the missing sectors with zeros. Copy-on-write only happens...
qemu-iotests: add mirroring test case
qemu-iotests: add testcases for mirroring on-source-error/on-target-error
The new options are tested with blkdebug on both the source and thetarget.