diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-05 17:40:58 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-05 17:40:58 +0000 |
commit | 2d2431f03fc78b532f3a1c5f858cf78859d50fc3 (patch) | |
tree | ab6b563362bd3e243bae92cbe1118687d5e305f6 /Makefile.target | |
parent | 8707eccac83bda82d802c0cfa04fc0ff6bcdce27 (diff) | |
download | hqemu-2d2431f03fc78b532f3a1c5f858cf78859d50fc3.zip hqemu-2d2431f03fc78b532f3a1c5f858cf78859d50fc3.tar.gz |
qcow2: fix image creation for large, > ~2TB, images (Chris Wright)
When creating large disk images w/ qcow2 format, qcow2_create is hard
coded to creating a single refcount block. This is insufficient for
large images, and will cause qemu-img to segfault as it walks off the
end of the refcount block. Keep track of the space needed during image
create and create proper number of refcount blocks accordingly.
https://bugzilla.redhat.com/show_bug.cgi?id=491943
Signed-off-by: Chris Wright <chrisw@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6982 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile.target')
0 files changed, 0 insertions, 0 deletions