qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3] vmdk: align end of file to a sector boundary


From: yuchenlin
Subject: Re: [Qemu-devel] [PATCH v3] vmdk: align end of file to a sector boundary
Date: Mon, 08 Oct 2018 11:15:05 +0800
User-agent: Roundcube Webmail/1.1.2

On 2018-10-08 10:38, Fam Zheng wrote:
On Fri, 10/05 10:00, yuchenlin wrote:
Ping?

Hi,

This was merged as 51b3c6b73acae1e3fd3c7d441fc86dd17356695f.

Fam


Hi,

Thank you for your information.

yuchenlin


On 2018-09-13 16:34, Fam Zheng wrote:
> On Thu, 09/13 16:29, address@hidden wrote:
> > From: yuchenlin <address@hidden>
> >
> > There is a rare case which the size of last compressed cluster
> > is larger than the cluster size, which will cause the file is
> > not aligned at the sector boundary.
> >
> > There are three reasons to do it. First, if vmdk doesn't align at
> > the sector boundary, there may be many undefined behaviors,
> > such as, in vbox it will show VMDK: Compressed image is corrupted
> > 'syno-vm-disk1.vmdk' (VERR_ZIP_CORRUPTED) when we try to import an
> > ova with unaligned vmdk. Second, all the cluster_sector is aligned
> > to sector, the last one should be like this, too. Third, it ease
> > reading with sector based I/Os.
> >
> > Signed-off-by: yuchenlin <address@hidden>
>
> Reviewed-by: Fam Zheng <address@hidden>





reply via email to

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