OSDN Git Service

qemu-iotests: add test for pausing a streaming operation
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 28 Sep 2012 15:22:52 +0000 (17:22 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 28 Sep 2012 17:14:32 +0000 (19:14 +0200)
commit0c81734765c9af1705f8e531b9431d63ee8ffd3d
tree6eb39228f40dbec085698948b7c0398c32e64734
parent6e37fb811ac86739e5ed30dba3a8e4848bd21b56
qemu-iotests: add test for pausing a streaming operation

These check that a paused streaming job does not advance its offset.

Sometimes the new test fails; the map is different between the source
and the destination of the streaming because qemu-io does not always
pack adjacent clusters that have the same allocated/unallocated state.
However, this also happens with the existing test_stream testcase, and
is better fixed in qemu-io.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/030
tests/qemu-iotests/030.out
tests/qemu-iotests/group