1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00
libvirt/tests/vmx2xmldata
Michal Privoznik 7d661d6e20 vmx: Parse vm.genid
The VMware metadata file contains genid but we are not parsing
and thus reporting it in domain XML. However, it's not as
straightforward as one might think. The UUID reported by VMware
is not in its usual string form, but split into two signed long
longs. That means, we have to do a bit of trickery when parsing.
But looking around it's the same magic that libguestfs does:

https://github.com/libguestfs/virt-v2v/blob/master/v2v/input_vmx.ml#L421

It's also explained by Rich on qemu-devel:

https://lists.nongnu.org/archive/html/qemu-devel/2018-07/msg02019.html

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1598348
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
2021-08-02 12:54:17 +02:00
..
vmx2xml-annotation.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-annotation.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-case-insensitive-1.vmx
vmx2xml-case-insensitive-1.xml vmx: support outputing the type attribute for MAC addresses 2020-07-23 16:11:35 +01:00
vmx2xml-case-insensitive-2.vmx
vmx2xml-case-insensitive-2.xml vmx: support outputing the type attribute for MAC addresses 2020-07-23 16:11:35 +01:00
vmx2xml-cdrom-ide-device.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-cdrom-ide-device.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-cdrom-ide-empty-2.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-cdrom-ide-empty-2.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-cdrom-ide-empty.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-cdrom-ide-empty.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-cdrom-ide-file-missing-datastore.vmx tests: Test vmx files with missing images 2021-01-06 02:05:10 +01:00
vmx2xml-cdrom-ide-file-missing-file.vmx tests: Test vmx files with missing images 2021-01-06 02:05:10 +01:00
vmx2xml-cdrom-ide-file.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-cdrom-ide-file.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-cdrom-ide-raw-auto-detect.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-cdrom-ide-raw-auto-detect.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-cdrom-ide-raw-device.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-cdrom-ide-raw-device.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-cdrom-scsi-device.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-cdrom-scsi-device.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-cdrom-scsi-empty.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-cdrom-scsi-empty.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-cdrom-scsi-file.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-cdrom-scsi-file.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-cdrom-scsi-passthru.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-cdrom-scsi-passthru.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-cdrom-scsi-raw-auto-detect.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-cdrom-scsi-raw-auto-detect.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-cdrom-scsi-raw-device.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-cdrom-scsi-raw-device.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-datacenterpath.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-datacenterpath.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-esx-in-the-wild-1.vmx
vmx2xml-esx-in-the-wild-1.xml vmx: support outputing the type attribute for MAC addresses 2020-07-23 16:11:35 +01:00
vmx2xml-esx-in-the-wild-2.vmx
vmx2xml-esx-in-the-wild-2.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-esx-in-the-wild-3.vmx
vmx2xml-esx-in-the-wild-3.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-esx-in-the-wild-4.vmx
vmx2xml-esx-in-the-wild-4.xml vmx: support outputing the type attribute for MAC addresses 2020-07-23 16:11:35 +01:00
vmx2xml-esx-in-the-wild-5.vmx
vmx2xml-esx-in-the-wild-5.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-esx-in-the-wild-6.vmx
vmx2xml-esx-in-the-wild-6.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-esx-in-the-wild-7.vmx
vmx2xml-esx-in-the-wild-7.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-esx-in-the-wild-8.vmx
vmx2xml-esx-in-the-wild-8.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-esx-in-the-wild-9.vmx
vmx2xml-esx-in-the-wild-9.xml vmx: support outputing the type attribute for MAC addresses 2020-07-23 16:11:35 +01:00
vmx2xml-esx-in-the-wild-10.vmx vmx: start parsing SATA disks 2020-10-14 11:23:30 +02:00
vmx2xml-esx-in-the-wild-10.xml vmx: Parse vm.genid 2021-08-02 12:54:17 +02:00
vmx2xml-ethernet-bridged.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-ethernet-bridged.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-ethernet-custom.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-ethernet-custom.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-ethernet-e1000.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-ethernet-e1000.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-ethernet-generated.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-ethernet-generated.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-ethernet-nat.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-ethernet-nat.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-ethernet-other.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-ethernet-other.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-ethernet-static.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-ethernet-static.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-ethernet-vmxnet2.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-ethernet-vmxnet2.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-ethernet-vpx.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-ethernet-vpx.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-firmware-efi.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-firmware-efi.xml conf: remove duplicated firmware type attribute 2021-03-30 10:19:42 +01:00
vmx2xml-floppy-device.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-floppy-device.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-floppy-file.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-floppy-file.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-fusion-in-the-wild-1.vmx XML <source bridge='VMnet0'/> update in <interface type='bridge'/> 2021-04-01 13:36:35 +02:00
vmx2xml-fusion-in-the-wild-1.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-graphics-vnc.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-graphics-vnc.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-gsx-in-the-wild-1.vmx
vmx2xml-gsx-in-the-wild-1.xml vmx: support outputing the type attribute for MAC addresses 2020-07-23 16:11:35 +01:00
vmx2xml-gsx-in-the-wild-2.vmx
vmx2xml-gsx-in-the-wild-2.xml vmx: support outputing the type attribute for MAC addresses 2020-07-23 16:11:35 +01:00
vmx2xml-gsx-in-the-wild-3.vmx
vmx2xml-gsx-in-the-wild-3.xml vmx: support outputing the type attribute for MAC addresses 2020-07-23 16:11:35 +01:00
vmx2xml-gsx-in-the-wild-4.vmx
vmx2xml-gsx-in-the-wild-4.xml vmx: support outputing the type attribute for MAC addresses 2020-07-23 16:11:35 +01:00
vmx2xml-harddisk-ide-file-missing-datastore.vmx tests: Test vmx files with missing images 2021-01-06 02:05:10 +01:00
vmx2xml-harddisk-ide-file.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-harddisk-ide-file.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-harddisk-scsi-file-missing-file.vmx tests: Test vmx files with missing images 2021-01-06 02:05:10 +01:00
vmx2xml-harddisk-scsi-file.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-harddisk-scsi-file.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-harddisk-transient.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-harddisk-transient.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-minimal-64bit.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-minimal-64bit.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-minimal.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-minimal.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-parallel-device.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-parallel-device.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-parallel-file.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-parallel-file.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-scsi-driver.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-scsi-driver.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-scsi-writethrough.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-scsi-writethrough.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-serial-device.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-serial-device.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-serial-file.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-serial-file.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-serial-network-client.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-serial-network-client.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-serial-network-server.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-serial-network-server.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-serial-pipe-client-app.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-serial-pipe-client-vm.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-serial-pipe-server-app.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-serial-pipe-server-vm.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-serial-pipe.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-sharedfolder.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-sharedfolder.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-smbios.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-smbios.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-svga.vmx tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-svga.xml tests: vmx: Add <name> element for all domain XMLs 2020-10-20 09:05:10 +02:00
vmx2xml-ws-in-the-wild-1.vmx
vmx2xml-ws-in-the-wild-1.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00
vmx2xml-ws-in-the-wild-2.vmx XML <source bridge='VMnet0'/> update in <interface type='bridge'/> 2021-04-01 13:36:35 +02:00
vmx2xml-ws-in-the-wild-2.xml vmx: Mark CDROM disk elements as read-only 2021-04-19 14:43:59 +02:00