diff options
author | Kevin Wolf <kwolf@redhat.com> | 2010-06-11 21:37:37 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-10-22 14:49:35 +0200 |
commit | a9420734b617be43d075c55b980479411807512e (patch) | |
tree | 3d611548654c1567cd5293c3a144c5cc3d6819a1 /cutils.c | |
parent | 72893756e0da74fcb626c52dfff1fc6e9de84f0c (diff) | |
download | qemu-a9420734b617be43d075c55b980479411807512e.zip qemu-a9420734b617be43d075c55b980479411807512e.tar.gz qemu-a9420734b617be43d075c55b980479411807512e.tar.bz2 |
qcow2: Simplify image creation
Instead of doing lots of magic for setting up initial refcount blocks and stuff
create a minimal (inconsistent) image, open it and initialize the rest with
regular qcow2 functions.
This is a complete rewrite of the image creation function. The old
implementating is #ifdef'd out and will be removed by the next patch (removing
it here would have made the diff unreadable because diff tries to find
similarities when it's really a rewrite)
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'cutils.c')
0 files changed, 0 insertions, 0 deletions