libvirt/tests/xml2vmxdata
Geoff Hickey 842f6fd338 esx: Fix floppy.fileName handling in the vmx file parser
The vmx file parsing code was reporting errors when parsing floppy.fileName
entries if the filename didn't end in .flp. There is no such restriction in
ESX; even using the GUI to configure floppy filenames you can specify any
arbitrary file with any extension.

Fix by changing the vmx parsing code so that it uses the floppy.fileType
value to determine whether floppy.fileName refers to a block device or a
regular file.

Also remove code that would have generated an error if no floppy.fileName
was specified. This is not an error either.

Updated the floppy tests in vmx2xmltest.c and xml2vmxtest.c.
2013-10-15 11:39:02 +01:00
..
xml2vmx-annotation.vmx
xml2vmx-annotation.xml
xml2vmx-cdrom-ide-device.vmx
xml2vmx-cdrom-ide-device.xml
xml2vmx-cdrom-ide-file.vmx
xml2vmx-cdrom-ide-file.xml
xml2vmx-cdrom-ide-raw-auto-detect.vmx
xml2vmx-cdrom-ide-raw-auto-detect.xml
xml2vmx-cdrom-ide-raw-device.vmx
xml2vmx-cdrom-ide-raw-device.xml
xml2vmx-cdrom-scsi-device.vmx
xml2vmx-cdrom-scsi-device.xml
xml2vmx-cdrom-scsi-file.vmx
xml2vmx-cdrom-scsi-file.xml
xml2vmx-cdrom-scsi-raw-auto-detect.vmx
xml2vmx-cdrom-scsi-raw-auto-detect.xml
xml2vmx-cdrom-scsi-raw-device.vmx
xml2vmx-cdrom-scsi-raw-device.xml
xml2vmx-esx-in-the-wild-1.vmx
xml2vmx-esx-in-the-wild-1.xml
xml2vmx-esx-in-the-wild-2.vmx
xml2vmx-esx-in-the-wild-2.xml
xml2vmx-esx-in-the-wild-3.vmx
xml2vmx-esx-in-the-wild-3.xml
xml2vmx-esx-in-the-wild-4.vmx
xml2vmx-esx-in-the-wild-4.xml
xml2vmx-esx-in-the-wild-5.vmx
xml2vmx-esx-in-the-wild-5.xml
xml2vmx-esx-in-the-wild-6.vmx
xml2vmx-esx-in-the-wild-6.xml
xml2vmx-ethernet-bridged.vmx
xml2vmx-ethernet-bridged.xml
xml2vmx-ethernet-custom.vmx
xml2vmx-ethernet-custom.xml
xml2vmx-ethernet-e1000.vmx
xml2vmx-ethernet-e1000.xml
xml2vmx-ethernet-generated.vmx
xml2vmx-ethernet-generated.xml
xml2vmx-ethernet-nat.vmx
xml2vmx-ethernet-nat.xml
xml2vmx-ethernet-other.vmx
xml2vmx-ethernet-other.xml
xml2vmx-ethernet-static.vmx
xml2vmx-ethernet-static.xml
xml2vmx-ethernet-vmxnet2.vmx
xml2vmx-ethernet-vmxnet2.xml
xml2vmx-ethernet-vpx.vmx
xml2vmx-ethernet-vpx.xml
xml2vmx-floppy-device.vmx
xml2vmx-floppy-device.xml
xml2vmx-floppy-file.vmx esx: Fix floppy.fileName handling in the vmx file parser 2013-10-15 11:39:02 +01:00
xml2vmx-floppy-file.xml esx: Fix floppy.fileName handling in the vmx file parser 2013-10-15 11:39:02 +01:00
xml2vmx-fusion-in-the-wild-1.vmx
xml2vmx-fusion-in-the-wild-1.xml
xml2vmx-graphics-vnc.vmx
xml2vmx-graphics-vnc.xml
xml2vmx-gsx-in-the-wild-1.vmx
xml2vmx-gsx-in-the-wild-1.xml
xml2vmx-gsx-in-the-wild-2.vmx
xml2vmx-gsx-in-the-wild-2.xml
xml2vmx-gsx-in-the-wild-3.vmx
xml2vmx-gsx-in-the-wild-3.xml
xml2vmx-gsx-in-the-wild-4.vmx
xml2vmx-gsx-in-the-wild-4.xml
xml2vmx-harddisk-ide-file.vmx
xml2vmx-harddisk-ide-file.xml
xml2vmx-harddisk-scsi-file.vmx
xml2vmx-harddisk-scsi-file.xml
xml2vmx-minimal-64bit.vmx
xml2vmx-minimal-64bit.xml
xml2vmx-minimal.vmx
xml2vmx-minimal.xml
xml2vmx-parallel-device.vmx
xml2vmx-parallel-device.xml
xml2vmx-parallel-file.vmx
xml2vmx-parallel-file.xml
xml2vmx-scsi-driver.vmx
xml2vmx-scsi-driver.xml
xml2vmx-scsi-writethrough.vmx
xml2vmx-scsi-writethrough.xml
xml2vmx-serial-device.vmx
xml2vmx-serial-device.xml
xml2vmx-serial-file.vmx
xml2vmx-serial-file.xml
xml2vmx-serial-network-client.vmx
xml2vmx-serial-network-client.xml
xml2vmx-serial-network-server.vmx
xml2vmx-serial-network-server.xml
xml2vmx-serial-pipe.vmx
xml2vmx-serial-pipe.xml
xml2vmx-sharedfolder.vmx
xml2vmx-sharedfolder.xml
xml2vmx-smbios.vmx
xml2vmx-smbios.xml
xml2vmx-svga.vmx
xml2vmx-svga.xml
xml2vmx-ws-in-the-wild-1.vmx
xml2vmx-ws-in-the-wild-1.xml
xml2vmx-ws-in-the-wild-2.vmx
xml2vmx-ws-in-the-wild-2.xml