Re: [Qemu-devel] [PATCH] vmdk: Fix creating big description file

2013-12-03 Thread Stefan Hajnoczi
On Tue, Dec 03, 2013 at 10:29:14AM +0800, Fam Zheng wrote: > On 2013年12月02日 21:26, Stefan Hajnoczi wrote: > >On Mon, Dec 02, 2013 at 11:01:20AM +0800, Fam Zheng wrote: > >>The buffer for description file was 4096 which only covers a few > >>hundred of extents. This changes the buffer to dynamic all

Re: [Qemu-devel] [PATCH] vmdk: Fix creating big description file

2013-12-02 Thread Fam Zheng
On 2013年12月02日 21:26, Stefan Hajnoczi wrote: On Mon, Dec 02, 2013 at 11:01:20AM +0800, Fam Zheng wrote: 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

Re: [Qemu-devel] [PATCH] vmdk: Fix creating big description file

2013-12-02 Thread Stefan Hajnoczi
On Mon, Dec 02, 2013 at 11:01:20AM +0800, Fam Zheng wrote: > 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 > --- > block/vmd