From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vnm3N-0002Kh-W4 for qemu-devel@nongnu.org; Tue, 03 Dec 2013 04:14:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vnm3J-00075u-5g for qemu-devel@nongnu.org; Tue, 03 Dec 2013 04:14:01 -0500 Date: Tue, 3 Dec 2013 10:13:52 +0100 From: Stefan Hajnoczi Message-ID: <20131203091352.GA13747@stefanha-thinkpad.muc.redhat.com> References: <1386038465-8899-1-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1386038465-8899-1-git-send-email-famz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2] vmdk: Fix creating big description file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: kwolf@redhat.com, qemu-devel@nongnu.org, qemu-stable@nongnu.org On Tue, Dec 03, 2013 at 10:41:05AM +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 > > --- > v2: Use GString for ext_desc_lines. > Filter cid in reference output. > > Signed-off-by: Fam Zheng > --- > block/vmdk.c | 62 +- > tests/qemu-iotests/059 | 5 + > tests/qemu-iotests/059.out | 2012 ++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 2055 insertions(+), 24 deletions(-) Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan