Skip to content
Snippets Groups Projects
Commit b69864e5 authored by Sam Eiderman's avatar Sam Eiderman Committed by Kevin Wolf
Browse files

vmdk: Support version=3 in VMDK descriptor files


Commit 509d39aa added support for read
only VMDKs of version 3.

This commit fixes the probe function to correctly handle descriptors of
version 3.

This commit has two effects:
    1. We no longer need to supply '-f vmdk' when pointing to descriptor
       files of version 3 in qemu/qemu-img command line arguments.
    2. This fixes the scenario where a VMDK points to a parent version 3
       descriptor file which is being probed as "raw" instead of "vmdk".

Reviewed-by: default avatarArbel Moshe <arbel.moshe@oracle.com>
Reviewed-by: default avatarMark Kanda <mark.kanda@oracle.com>
Signed-off-by: default avatarShmuel Eiderman <shmuel.eiderman@oracle.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
parent 1f46ab2e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment