libvirt/tests/vmx2xmldata
Pino Toscano c5ee737bc5 vmx: make 'fileName' optional for CD-ROMs
It seems like CD-ROMs may have no 'fileName' property specified in case
there is nothing configured as attachment for the drive. Hence, make
sure that virVMXParseDisk() do not consider it mandatory anymore,
considering it an empty block cdrom device. Sadly virVMXParseDisk() is
used also to parse disk and floppies, so make sure that a NULL fileName
is handled in cdrom- and floppy-related paths.

https://bugzilla.redhat.com/show_bug.cgi?id=1808610

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Tested-by: Richard W.M. Jones <rjones@redhat.com>
2020-03-19 11:25:33 +01:00
..
vmx2xml-annotation.vmx
vmx2xml-annotation.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-case-insensitive-1.vmx
vmx2xml-case-insensitive-1.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-case-insensitive-2.vmx
vmx2xml-case-insensitive-2.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-cdrom-ide-device.vmx
vmx2xml-cdrom-ide-device.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-cdrom-ide-empty-2.vmx vmx: make 'fileName' optional for CD-ROMs 2020-03-19 11:25:33 +01:00
vmx2xml-cdrom-ide-empty-2.xml vmx: make 'fileName' optional for CD-ROMs 2020-03-19 11:25:33 +01:00
vmx2xml-cdrom-ide-empty.vmx
vmx2xml-cdrom-ide-empty.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-cdrom-ide-file.vmx
vmx2xml-cdrom-ide-file.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-cdrom-ide-raw-auto-detect.vmx
vmx2xml-cdrom-ide-raw-auto-detect.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-cdrom-ide-raw-device.vmx
vmx2xml-cdrom-ide-raw-device.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-cdrom-scsi-device.vmx
vmx2xml-cdrom-scsi-device.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-cdrom-scsi-empty.vmx
vmx2xml-cdrom-scsi-empty.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-cdrom-scsi-file.vmx
vmx2xml-cdrom-scsi-file.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-cdrom-scsi-passthru.vmx
vmx2xml-cdrom-scsi-passthru.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-cdrom-scsi-raw-auto-detect.vmx
vmx2xml-cdrom-scsi-raw-auto-detect.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-cdrom-scsi-raw-device.vmx VMX: Add cdrom-raw dev type from VMWare Fusion 2013-09-02 17:41:30 -05:00
vmx2xml-cdrom-scsi-raw-device.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-datacenterpath.vmx
vmx2xml-datacenterpath.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-esx-in-the-wild-1.vmx
vmx2xml-esx-in-the-wild-1.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-esx-in-the-wild-2.vmx
vmx2xml-esx-in-the-wild-2.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-esx-in-the-wild-3.vmx
vmx2xml-esx-in-the-wild-3.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-esx-in-the-wild-4.vmx
vmx2xml-esx-in-the-wild-4.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-esx-in-the-wild-5.vmx
vmx2xml-esx-in-the-wild-5.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-esx-in-the-wild-6.vmx
vmx2xml-esx-in-the-wild-6.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-esx-in-the-wild-7.vmx
vmx2xml-esx-in-the-wild-7.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-esx-in-the-wild-8.vmx vmx: convert any amount of NICs 2018-04-01 12:43:42 +02:00
vmx2xml-esx-in-the-wild-8.xml conf: add support for specifying CPU "dies" parameter 2020-01-16 15:11:42 +00:00
vmx2xml-esx-in-the-wild-9.vmx vmx: convert cpuid.coresPerSocket for CPU topology 2018-04-20 09:09:29 +02:00
vmx2xml-esx-in-the-wild-9.xml conf: add support for specifying CPU "dies" parameter 2020-01-16 15:11:42 +00:00
vmx2xml-ethernet-bridged.vmx
vmx2xml-ethernet-bridged.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-ethernet-custom.vmx
vmx2xml-ethernet-custom.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-ethernet-e1000.vmx
vmx2xml-ethernet-e1000.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-ethernet-generated.vmx
vmx2xml-ethernet-generated.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-ethernet-nat.vmx
vmx2xml-ethernet-nat.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-ethernet-other.vmx
vmx2xml-ethernet-other.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-ethernet-static.vmx
vmx2xml-ethernet-static.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-ethernet-vmxnet2.vmx
vmx2xml-ethernet-vmxnet2.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-ethernet-vpx.vmx
vmx2xml-ethernet-vpx.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-firmware-efi.vmx vmx: convert firmware config for autoselection 2019-04-15 20:03:55 -04:00
vmx2xml-firmware-efi.xml vmx: convert firmware config for autoselection 2019-04-15 20:03:55 -04:00
vmx2xml-floppy-device.vmx
vmx2xml-floppy-device.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-floppy-file.vmx
vmx2xml-floppy-file.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-fusion-in-the-wild-1.vmx
vmx2xml-fusion-in-the-wild-1.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-graphics-vnc.vmx
vmx2xml-graphics-vnc.xml graphics: make address attribute for listen type='address' optional 2016-05-17 10:41:45 +02:00
vmx2xml-gsx-in-the-wild-1.vmx
vmx2xml-gsx-in-the-wild-1.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-gsx-in-the-wild-2.vmx
vmx2xml-gsx-in-the-wild-2.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-gsx-in-the-wild-3.vmx
vmx2xml-gsx-in-the-wild-3.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-gsx-in-the-wild-4.vmx
vmx2xml-gsx-in-the-wild-4.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-harddisk-ide-file.vmx
vmx2xml-harddisk-ide-file.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-harddisk-scsi-file.vmx
vmx2xml-harddisk-scsi-file.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-harddisk-transient.vmx
vmx2xml-harddisk-transient.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-minimal-64bit.vmx
vmx2xml-minimal-64bit.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-minimal.vmx
vmx2xml-minimal.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-parallel-device.vmx
vmx2xml-parallel-device.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-parallel-file.vmx
vmx2xml-parallel-file.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-scsi-driver.vmx
vmx2xml-scsi-driver.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-scsi-writethrough.vmx
vmx2xml-scsi-writethrough.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-serial-device.vmx
vmx2xml-serial-device.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-serial-file.vmx
vmx2xml-serial-file.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-serial-network-client.vmx
vmx2xml-serial-network-client.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-serial-network-server.vmx
vmx2xml-serial-network-server.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-serial-pipe-client-app.vmx
vmx2xml-serial-pipe-client-vm.vmx
vmx2xml-serial-pipe-server-app.vmx
vmx2xml-serial-pipe-server-vm.vmx
vmx2xml-serial-pipe.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-sharedfolder.vmx
vmx2xml-sharedfolder.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-smbios.vmx
vmx2xml-smbios.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-svga.vmx
vmx2xml-svga.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-ws-in-the-wild-1.vmx
vmx2xml-ws-in-the-wild-1.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00
vmx2xml-ws-in-the-wild-2.vmx
vmx2xml-ws-in-the-wild-2.xml conf: also mark the implicit video as primary 2016-04-12 10:45:35 +02:00