qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] VMDK: add monolithic flat image support


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH] VMDK: add monolithic flat image support
Date: Mon, 30 May 2011 14:28:22 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc15 Thunderbird/3.1.10

Am 30.05.2011 09:49, schrieb Fam Zheng:
> VMDK multiple file images can not be recognized for now. This patch is
> adding monolithic flat support to it, that is the image type with two
> files, one text descriptor file and a plain data file. This type of
> image can be created in VMWare, with the options "allocate all disk
> space now" and "store virtual disk as a single file" checked.
> 
> A VmdkExtent structure is introduced to hold the image "extent"
> information, which makes further adding multi extents support of VMDK
> easy. An image creating option "flat" is added for creating flat
> (preallocated) image.
> 
> Signed-off-by: Feiran (Fam) Zheng <address@hidden>

Ok, seems I commented on so many details that in the end I forgot to add
the general comment. :-)

I think this patch is too big to be well reviewable. You should always
try to make only one logical change in one patch. I think you can split
this at least in two parts: First adding the VmdkExtent data structure
without adding any new functionality, and second adding the monolithic
flat support. Depending on how big the second patch is, you can split it
further into image creation and the rest (or any other split that you
feel is natural).

On two or three hunks I commented that they probably aren't required for
monolithic flat support. They should be separate bugfix or cleanup patches.

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]