summary refs log tree commit diff stats
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2017-07-05 13:57:32 +0100
committerMax Reitz <mreitz@redhat.com>2017-07-11 17:45:00 +0200
commit95c67e3bd747b119aa0a902778e1c20fd7fded7f (patch)
tree2f1616a041c8ea47370f016a8fbb4b9a262788fd /qemu-io-cmds.c
parenta843a22a82e0b2bf5841af8a074066ea1d18997a (diff)
downloadfocaccia-qemu-95c67e3bd747b119aa0a902778e1c20fd7fded7f.tar.gz
focaccia-qemu-95c67e3bd747b119aa0a902778e1c20fd7fded7f.zip
qcow2: extract preallocation calculation function
Calculating the preallocated image size will be needed to implement
.bdrv_measure().  Extract the code out into a separate function.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-id: 20170705125738.8777-4-stefanha@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions