diff options
Diffstat (limited to 'results/classifier/118/review/1793016')
| -rw-r--r-- | results/classifier/118/review/1793016 | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/results/classifier/118/review/1793016 b/results/classifier/118/review/1793016 new file mode 100644 index 00000000..78f07aac --- /dev/null +++ b/results/classifier/118/review/1793016 @@ -0,0 +1,101 @@ +mistranslation: 0.895 +graphic: 0.869 +semantic: 0.848 +user-level: 0.794 +x86: 0.775 +device: 0.729 +hypervisor: 0.691 +performance: 0.679 +virtual: 0.652 +architecture: 0.651 +KVM: 0.642 +files: 0.604 +debug: 0.569 +i386: 0.543 +ppc: 0.537 +kernel: 0.536 +peripherals: 0.534 +boot: 0.506 +VMM: 0.486 +network: 0.478 +socket: 0.474 +PID: 0.455 +register: 0.448 +permissions: 0.366 +arm: 0.359 +TCG: 0.352 +vnc: 0.331 +risc-v: 0.322 +assembly: 0.256 +-------------------- +x86: 0.869 +virtual: 0.869 +KVM: 0.716 +kernel: 0.457 +hypervisor: 0.456 +user-level: 0.336 +files: 0.154 +debug: 0.069 +socket: 0.061 +PID: 0.029 +register: 0.027 +risc-v: 0.018 +VMM: 0.017 +semantic: 0.015 +TCG: 0.014 +boot: 0.010 +device: 0.010 +vnc: 0.008 +network: 0.006 +i386: 0.003 +mistranslation: 0.003 +architecture: 0.002 +graphic: 0.002 +peripherals: 0.002 +performance: 0.001 +assembly: 0.001 +ppc: 0.001 +permissions: 0.001 +arm: 0.001 + +vmdk to cqow2 invalid VMDK image descriptor + +Greetings, + +CentOS 7.5.1804 +Linux 3.10.0-862.11.6.el7.x86_64 +qemu-img version 3.0.50 (v3.0.0-614-g19b599f) + +When trying to convert a vmdk flat file to qcow2 format, I get the following error message: +qemu-img: Could not open './sk-R12-flat.vmdk': invalid VMDK image descriptor + +The command line used is +root@s11kvm:/home/goinfre> qemu-img convert -f vmdk -O qcow2 ./sk-R12-flat.vmdk ./sk-R12-flat.qcow2 + + +"file sk-R12-flat.vmdk" returns: +sk-R12-flat.vmdk: x86 boot sector; +GRand Unified Bootloader, stage1 version 0x3, boot drive 0x80, 1st sector stage2 0x40, GRUB version 0.97; +partition 1: ID=0x63, active, starthead 1, startsector 63, 16002 sectors; +partition 2: ID=0x83, starthead 0, startsector 16065, 3084480 sectors; +partition 3: ID=0x83, starthead 0, startsector 3100545, 3084480 sectors; +partition 4: ID=0x5, starthead 0, startsector 6185025, 161581770 sectors, code offset 0x48 + +Found a work around by removing the option "-f vmd" +Still a bug though. + +meant "vmdk" of course. + +Hi, + +Judging from the "file" output and the fact that you say the result is correct when removing "-f vmdk", it appears as if the input is in fact not in vmdk format but just a raw image. +I don't know too much about vmdk, but I suppose that there is a descriptor file that goes aloing with that sk-R12-flat.vmdk (e.g. "sk-R12.vmdk"). So I guess sk-R12-flat.vmdk just contains the raw image data which is pointed to by e.g. sk-R12.vmdk, and the latter would be the file that qemu expects. + +From my perspective, giving the flat file a .vmdk extension is a misnomer, and qemu's vmdk driver is correct in rejecting it -- because it is just a raw file, so it should be handled by the raw driver. But maybe it is common enough that the vmdk driver should give a hint on that. + +Note that the VMware knowledge base (https://kb.vmware.com/s/article/1002511) specifically says that "VMDK" stands for the descriptor file, and it looks like even VMware would reject flat files without a descriptor file. + +Max + +I'm closing this ticket since it was likely just a wrong file extension ... if you disagree, feel free to open the ticket again. + |
