iotests: Add iotests.image_size
authorFam Zheng <famz@redhat.com>
Wed, 20 Apr 2016 02:48:35 +0000 (10:48 +0800)
committerKevin Wolf <kwolf@redhat.com>
Wed, 20 Apr 2016 14:52:55 +0000 (16:52 +0200)
commit74f69050fe9950c0fa083da0f7a836d9721194cf
tree8d853e4e0eb8dac918bdb92d9fa34234d538c0cc
parent4150ae60ebf9445d853186c72cf33383710f7360
iotests: Add iotests.image_size

This retrieves the virtual size of the image out of qemu-img info.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/iotests.py