[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [PATCH] vmdk: Fix creating big description file
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-stable] [PATCH] vmdk: Fix creating big description file |
Date: |
Tue, 3 Dec 2013 09:42:23 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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 allocated with
> >>g_strdup_printf in order to support bigger cases.
> >>
> >>Signed-off-by: Fam Zheng <address@hidden>
> >>---
> >> block/vmdk.c | 65 +-
> >> tests/qemu-iotests/059 | 5 +
> >> tests/qemu-iotests/059.out | 2012
> >> ++++++++++++++++++++++++++++++++++++++++++++
> >> 3 files changed, 2058 insertions(+), 24 deletions(-)
> >
> >Does VMware have a hard limit? For example, does it open the 1000 GB
> >twoGbMaxExtentFlat file from your test case?
> >
>
> Yes it does. The limit is far above this, there is a statement in
> VMDK spec: "Maximum VMDK file size is 2TB." It opens this file from
> the test case, however I can't generate such a twoGbMaxExtentFlat
> from Workstation, because it will be automatically forced to
> monolithicFlat (if the size is above certain threshold).
Okay, good. Thanks for explaining.
Stefan