]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
vmdk: Fix creating big description file
authorFam Zheng <famz@redhat.com>
Tue, 3 Dec 2013 02:41:05 +0000 (10:41 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 3 Dec 2013 08:54:16 +0000 (09:54 +0100)
commitaf057fe74092df2e7a576448ddbdc0daac1370bf
tree10b4db9029cdb6a5678b43693ff9431876832cbc
parent7b6b145dbc62162df818dc2c5153defd0417c688
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>
block/vmdk.c
tests/qemu-iotests/059
tests/qemu-iotests/059.out