]> www.infradead.org Git - users/dwmw2/qemu.git/commit
qcow2: Add qcow2_cluster_is_allocated()
authorAlberto Garcia <berto@igalia.com>
Fri, 10 Jul 2020 16:12:58 +0000 (18:12 +0200)
committerMax Reitz <mreitz@redhat.com>
Tue, 25 Aug 2020 06:33:20 +0000 (08:33 +0200)
commitc94d037825ccecf4819ca63f8838561eba49bc80
tree203c6ec543d58f9e495bcff239a6851d6f20a5c7
parent70d1cbae03b54995fdc99f9934c847a87125e4f5
qcow2: Add qcow2_cluster_is_allocated()

This helper function tells us if a cluster is allocated (that is,
there is an associated host offset for it).

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <6d8771c5c79cbdc6c519875a5078e1cc85856d63.1594396418.git.berto@igalia.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/qcow2.h