commit | d1fde4ad3c22137f8e589e625c21bf2ea7f6ba62 | [log] [tgz] |
---|---|---|
author | Jeff Cody <jcody@redhat.com> | Wed Jun 25 16:55:31 2014 -0400 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Jun 27 11:37:54 2014 +0200 |
tree | f96492787a845ebd0808dd1ba63c160ea2fbe542 | |
parent | 9c75e168bc388094c04aabb6fc59c91abe06e81c [diff] |
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>