]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
block: add qemu-iotest for resize base during live commit
authorJeff Cody <jcody@redhat.com>
Wed, 25 Jun 2014 20:55:31 +0000 (16:55 -0400)
committerKevin Wolf <kwolf@redhat.com>
Fri, 27 Jun 2014 09:37:54 +0000 (11:37 +0200)
commitd1fde4ad3c22137f8e589e625c21bf2ea7f6ba62
treef96492787a845ebd0808dd1ba63c160ea2fbe542
parent9c75e168bc388094c04aabb6fc59c91abe06e81c
block: add qemu-iotest for resize base during live commit

If 'base' is smaller than the overlay image being committed into it,
then the base image will be grown in commit_run via bdrv_truncate().

This tests to make sure that this works, and the bdrv_truncate() is
not blocked when it shouldn't be.

Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/095 [new file with mode: 0755]
tests/qemu-iotests/095.out [new file with mode: 0644]
tests/qemu-iotests/group