]> git.ipfire.org Git - thirdparty/qemu.git/commit
vmdk: Fix creating big description file
authorFam Zheng <famz@redhat.com>
Tue, 3 Dec 2013 02:41:05 +0000 (10:41 +0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 9 Dec 2013 17:40:30 +0000 (11:40 -0600)
commit12f741031feb870b9b4ed6819b3c16ca5f2c6816
tree29aa156a07216e57282278cb372cb92efdf46537
parent982c8c5e209d0331f06c0d6bd9a440aa67a5e721
vmdk: Fix creating big description file

The buffer for description file was 4096 which only covers a few
hundred of extents. This changes the buffer to dynamic allocated with
g_strdup_printf in order to support bigger cases.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit af057fe74092df2e7a576448ddbdc0daac1370bf)

Conflicts:

block/vmdk.c
tests/qemu-iotests/059
tests/qemu-iotests/059.out

*removed dependencies on 4823970b and 4f6fd349

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/vmdk.c
tests/qemu-iotests/059
tests/qemu-iotests/059.out