aboutsummaryrefslogtreecommitdiff
path: root/roms
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2017-07-05 13:57:30 +0100
committerMax Reitz <mreitz@redhat.com>2017-07-11 17:45:00 +0200
commit90880ff107ecaada2a06a823dc5fa652f6e37a62 (patch)
treef63e4447193bad024626ead37492cddbd246e2e5 /roms
parentb43671f80cda8d0f11dcb929ed76fbd680c29cec (diff)
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 'roms')
0 files changed, 0 insertions, 0 deletions