diff options
author | Max Reitz <mreitz@redhat.com> | 2016-03-29 18:24:17 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-04-12 18:06:51 +0200 |
commit | 1fd06db03da73db868e54b838bb5ea02c10eea6c (patch) | |
tree | 8e76168587ec5ddf8f913e764af10706223e1b3c /block/vpc.c | |
parent | c229708848cc77b0277e7260f7e739d441c1d086 (diff) |
iotests: Make 150 use qemu-img map instead of du
The actual on-disk size of a file does not only depend on factors qemu
can control. Thus, we should not depend on this to determine whether a
file has indeed been fully allocated. Instead, use qemu-img map and hope
that if an area is referenced, it is indeed allocated, too.
Also, limit the supported image formats to raw and qcow2 because the
actual qemu-img map output may depend on the image format.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Tested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/vpc.c')
0 files changed, 0 insertions, 0 deletions