qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] VMDK file unable to open in Qemu but ESXi


From: Peter Lieven
Subject: Re: [Qemu-block] VMDK file unable to open in Qemu but ESXi
Date: Tue, 27 Sep 2016 11:41:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Am 27.09.2016 um 10:16 schrieb Kevin Wolf:
Am 27.09.2016 um 04:02 hat Fam Zheng geschrieben:
On Mon, 09/26 16:30, Peter Lieven wrote:
So it looks like this file is not compliant to the specfication. Is it
recognized and imported by VMware?
Yes, VMware ESXi imports it flawlessly.
The only possibility is that the "footer" is not in the end of the image. There
must be some other sector begins with bytes '4b 44 4d 56' besides the first.
Theoretically we can make QEMU accept this case by "scanning" the whole image
to look for the footer, but I'm not sure it's worth it.
I would be surprised if VMware were scanning the whole image, so there
must be some other way. If such images exist in real life, we should
probably try to support them.

There is no second magic in the whole file. Is it possible that VMware restores
the footer from the info in the descriptor?

$ hexdump -C PI-VA-3.1.0.0.132-flex-disk1.vmdk | grep "4b 44 4d 56"
00000000  4b 44 4d 56 03 00 00 00  01 00 03 00 00 00 9f 24 |KDMV...........$|
$

Peter



reply via email to

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