raw-format: add bdrv_measure() support
commita843a22a82e0b2bf5841af8a074066ea1d18997a
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 5 Jul 2017 12:57:31 +0000 (5 13:57 +0100)
committerMax Reitz <mreitz@redhat.com>
Tue, 11 Jul 2017 15:45:00 +0000 (11 17:45 +0200)
treeaee2505b1aaa36d4608ea88a1a73302b73c270d5
parent90880ff107ecaada2a06a823dc5fa652f6e37a62
raw-format: add bdrv_measure() support

Maximum size calculation is trivial for the raw format: it's just the
requested image size (because there is no metadata).

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-id: 20170705125738.8777-3-stefanha@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/raw-format.c