diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2017-07-05 13:57:32 +0100 |
|---|---|---|
| committer | Max Reitz <mreitz@redhat.com> | 2017-07-11 17:45:00 +0200 |
| commit | 95c67e3bd747b119aa0a902778e1c20fd7fded7f (patch) | |
| tree | 2f1616a041c8ea47370f016a8fbb4b9a262788fd /qemu-io-cmds.c | |
| parent | a843a22a82e0b2bf5841af8a074066ea1d18997a (diff) | |
| download | focaccia-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