diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2017-07-05 13:57:35 +0100 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2017-07-11 17:45:00 +0200 |
commit | c501c35220856621e9677ba9e6a556948d49778e (patch) | |
tree | 67756bd19e8b6720dc9892b249a26cc74c280e5b /block/cloop.c | |
parent | 0eb4a8c1df6db29e835daeb954352bfaa8994374 (diff) | |
download | qemu-c501c35220856621e9677ba9e6a556948d49778e.zip qemu-c501c35220856621e9677ba9e6a556948d49778e.tar.gz qemu-c501c35220856621e9677ba9e6a556948d49778e.tar.bz2 |
qcow2: add bdrv_measure() support
Use qcow2_calc_prealloc_size() to get the required file size.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-id: 20170705125738.8777-7-stefanha@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/cloop.c')
0 files changed, 0 insertions, 0 deletions