aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2010-07-14 10:33:49 +0200
committerDoug Goldstein <cardoe@gentoo.org>2010-07-20 17:39:06 -0500
commitd1b0d27d9df7d0fdb617621e5f0d39e198cc8377 (patch)
tree1b01e1b04eecbdbea00230adb56184103ba5489b /rules.mak
parentvmdk: fix double free (diff)
downloadqemu-kvm-d1b0d27d9df7d0fdb617621e5f0d39e198cc8377.tar.gz
qemu-kvm-d1b0d27d9df7d0fdb617621e5f0d39e198cc8377.tar.bz2
qemu-kvm-d1b0d27d9df7d0fdb617621e5f0d39e198cc8377.zip
qcow2: Fix creation of large images
qcow_create2 assumes that the new image will only need one cluster for its refcount table initially. Obviously that's not true any more when the image is big enough (exact value depends on the cluster size). This patch calculates the refcount table size dynamically. Signed-off-by: Kevin Wolf <kwolf@redhat.com> (cherry picked from commit 4768fa902c3860f2fe34403e6e1c83bfca6da034) Conflicts: block/qcow2.c Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'rules.mak')
0 files changed, 0 insertions, 0 deletions