]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commit
qemu-iotests: Test BLOCK_JOB_READY event for 0Kb image active commit
authorFam Zheng <famz@redhat.com>
Tue, 24 Jun 2014 12:26:37 +0000 (20:26 +0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 7 Aug 2014 08:52:48 +0000 (03:52 -0500)
commite5f0eb06a897ee73df22a1eaffdf0a86002559af
tree998ee8dab6d9e3a625308363b901eaafa1ad4930
parent43ac708d4c021ade469d6e96e054abab4cb49e4b
qemu-iotests: Test BLOCK_JOB_READY event for 0Kb image active commit

There should be a BLOCK_JOB_READY event with active commit, regardless
of image length. Let's test the 0 length image case, and make sure it
goes through the ready->complete process.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 8b9a30ca5bc10545637429486836f3c206c39fab)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tests/qemu-iotests/040
tests/qemu-iotests/040.out