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 VMX: Add support for 'auto detect' fileNames 2013-09-17 14:10:40 -05:00
xml2vmx-cdrom-ide-raw-auto-detect.xml VMX: Add support for 'auto detect' fileNames 2013-09-17 14:10:40 -05:00
xml2vmx-cdrom-ide-raw-device.vmx VMX: Add cdrom-raw dev type from VMWare Fusion 2013-09-02 17:41:30 -05:00
xml2vmx-cdrom-ide-raw-device.xml VMX: Add cdrom-raw dev type from VMWare Fusion 2013-09-02 17:41:30 -05:00
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 VMX: Add support for 'auto detect' fileNames 2013-09-17 14:10:40 -05:00
xml2vmx-cdrom-scsi-raw-auto-detect.xml VMX: Add support for 'auto detect' fileNames 2013-09-17 14:10:40 -05:00
xml2vmx-cdrom-scsi-raw-device.vmx VMX: Add cdrom-raw dev type from VMWare Fusion 2013-09-02 17:41:30 -05:00
xml2vmx-cdrom-scsi-raw-device.xml VMX: Add cdrom-raw dev type from VMWare Fusion 2013-09-02 17:41:30 -05:00
xml2vmx-esx-in-the-wild-1.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-esx-in-the-wild-1.xml
xml2vmx-esx-in-the-wild-2.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-esx-in-the-wild-2.xml
xml2vmx-esx-in-the-wild-3.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-esx-in-the-wild-3.xml
xml2vmx-esx-in-the-wild-4.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-esx-in-the-wild-4.xml
xml2vmx-esx-in-the-wild-5.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-esx-in-the-wild-5.xml
xml2vmx-esx-in-the-wild-6.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
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 util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
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 VMX: Add a VMWare Fusion 5 configuration for tests 2013-09-17 14:10:41 -05:00
xml2vmx-fusion-in-the-wild-1.xml VMX: Add a VMWare Fusion 5 configuration for tests 2013-09-17 14:10:41 -05:00
xml2vmx-graphics-vnc.vmx
xml2vmx-graphics-vnc.xml
xml2vmx-gsx-in-the-wild-1.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-gsx-in-the-wild-1.xml
xml2vmx-gsx-in-the-wild-2.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-gsx-in-the-wild-2.xml
xml2vmx-gsx-in-the-wild-3.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-gsx-in-the-wild-3.xml
xml2vmx-gsx-in-the-wild-4.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
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 vmx: handle shared folders formatting 2012-07-21 19:45:02 +02:00
xml2vmx-sharedfolder.xml vmx: handle shared folders formatting 2012-07-21 19:45:02 +02:00
xml2vmx-smbios.vmx
xml2vmx-smbios.xml
xml2vmx-svga.vmx
xml2vmx-svga.xml
xml2vmx-ws-in-the-wild-1.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-ws-in-the-wild-1.xml
xml2vmx-ws-in-the-wild-2.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-ws-in-the-wild-2.xml