Statistics
| Branch: | Revision:

root / tests / qemu-iotests / 041.out @ 5b43dbb6

History | View | Annotate | Download (116 Bytes)

# Date Author Comment
171d6431 11/27/2013 05:53 pm Max Reitz

qemu-iotests: Fix test 041

Performing multiple drive-mirror blockjobs on the same qemu instance
results in the image file used for the block device being replaced by
the newly mirrored file, which is not what we want.

Fix this by performing one dedicated test per sync mode....

c15badee 11/14/2013 02:09 pm Max Reitz

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 most
importantly, qemu should never crash.

Signed-off-by: Max Reitz <>...

a04eca10 02/01/2013 03:58 pm Vishvananda Ishaya

block: Adds mirroring tests for resized images

This test verifies two mirroring issues are fixed with resized images:

  • sync='top' creates an image that is the proper size
  • sync='full' doesn't cause an assertion failure and crash qemu
    Reviewed-by: Paolo Bonzini <>...
08e4ed6c 01/25/2013 07:18 pm Paolo Bonzini

mirror: add buf-size argument to drive-mirror

This makes sense when the next commit starts using the extra buffer space
to perform many I/O operations asynchronously.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

b812f671 01/25/2013 07:18 pm Paolo Bonzini

mirror: perform COW if the cluster size is bigger than the granularity

When mirroring runs, the backing files for the target may not yet be
ready. However, this means that a copy-on-write operation on the target
would fill the missing sectors with zeros. Copy-on-write only happens...

44c7ca5e 10/24/2012 11:26 am Paolo Bonzini

qemu-iotests: add mirroring test case

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

9dfa9f59 10/24/2012 11:26 am Paolo Bonzini

qemu-iotests: add testcases for mirroring on-source-error/on-target-error

The new options are tested with blkdebug on both the source and the
target.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>