[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH] vmdk: Set vmdk parent backing_format to vmdk
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-block] [PATCH] vmdk: Set vmdk parent backing_format to vmdk |
Date: |
Thu, 28 Mar 2019 12:32:13 +0100 |
User-agent: |
Mutt/1.11.3 (2019-02-01) |
Am 26.03.2019 um 20:58 hat Sam Eiderman geschrieben:
> Commit fb2105b ("vmdk: Support version=3 in VMDK descriptor files") fixed
> the probe function to correctly guess vmdk descriptors with version=3.
>
> This solves the issue where vmdk snapshot with parent vmdk descriptor
> containing "version=3" would be treated as raw instead vmdk.
>
> In the future case where a new vmdk version is introduced, we will again
> experience this issue, even if the user will provide "-f vmdk" it will
> only apply to the tip image and not to the underlying "misprobed" parent
> image.
>
> The code in vmdk.c already assumes that the backing file of vmdk must be
> vmdk (see vmdk_is_cid_valid which returns 0 if backing file is not
> vmdk).
>
> So let's make it official by supplying the backing_format as vmdk.
>
> Reviewed-by: Mark Kanda <address@hidden>
> Reviewed-By: Liran Alon <address@hidden>
> Reviewed-by: Arbel Moshe <address@hidden>
> Signed-off-by: Shmuel Eiderman <address@hidden>
Thanks, applied to the block-next branch for 4.1.
Kevin