diff options
| author | Stefan Hajnoczi | 2017-07-05 14:57:30 +0200 |
|---|---|---|
| committer | Max Reitz | 2017-07-11 17:45:00 +0200 |
| commit | 90880ff107ecaada2a06a823dc5fa652f6e37a62 (patch) | |
| tree | f63e4447193bad024626ead37492cddbd246e2e5 /block | |
| parent | tests: Avoid non-portable 'echo -ARG' (diff) | |
| download | qemu-90880ff107ecaada2a06a823dc5fa652f6e37a62.tar.gz qemu-90880ff107ecaada2a06a823dc5fa652f6e37a62.tar.xz qemu-90880ff107ecaada2a06a823dc5fa652f6e37a62.zip | |
block: add bdrv_measure() API
bdrv_measure() provides a conservative maximum for the size of a new
image. This information is handy if storage needs to be allocated (e.g.
a SAN or an LVM volume) ahead of time.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-id: 20170705125738.8777-2-stefanha@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions
