1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00
libvirt/tests/vmx2xmldata
Martin Kletzander 23c4794488 vmx: Check serialX.vspc before serialX.fileName
When using vSPC (Virtual Serial Port Concentrator) in vSphere the actual
address for it is saved in serialX.vspc in which case the
serialX.fileName is most probably something we can't get any useful
information from and we also fail during the parsing rendering any
dumpxml and similar tries unsuccessful.

Instead of parsing the vspc URL with something along the lines of
`virURIParse(vspc ? vspc : fileName)`, which could lead to us reporting
information that is very prune to misuse (the vSPC seemingly has a
protocol on top of the telnet connection; redefining the domain would
change the behaviour; the URL might have a fragment we are not saving;
etc.) or adding more XML knobs to indicate vSPC usage (which we would
not be able to configure; we'd have to properly error out everywhere;
etc.) let's just report dummy serial port that leads to nowhere (i.e.
type="null").

Resolves: https://issues.redhat.com/browse/RHEL-32182
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2024-05-02 17:22:37 +02:00
..
annotation.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
annotation.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
case-insensitive-1.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
case-insensitive-1.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
case-insensitive-2.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
case-insensitive-2.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-ide-device.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-ide-device.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-ide-empty-2.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-ide-empty-2.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-ide-empty.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-ide-empty.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-ide-file-missing-datastore.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-ide-file-missing-datastore.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-ide-file-missing-file.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-ide-file-missing-file.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-ide-file.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-ide-file.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-ide-raw-auto-detect.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-ide-raw-auto-detect.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-ide-raw-device.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-ide-raw-device.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-scsi-device.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-scsi-device.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-scsi-empty.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-scsi-empty.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-scsi-file.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-scsi-file.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-scsi-passthru.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-scsi-passthru.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-scsi-raw-auto-detect.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-scsi-raw-auto-detect.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-scsi-raw-device.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
cdrom-scsi-raw-device.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
datacenterpath.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
datacenterpath.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-1.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-1.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-2.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-2.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-3.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-3.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-4.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-4.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-5.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-5.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-6.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-6.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-7.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-7.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-8.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-8.xml conf: Allow specifying CPU clusters 2024-01-15 14:56:35 +01:00
esx-in-the-wild-9.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-9.xml conf: Allow specifying CPU clusters 2024-01-15 14:56:35 +01:00
esx-in-the-wild-10.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-10.xml conf: Allow specifying CPU clusters 2024-01-15 14:56:35 +01:00
esx-in-the-wild-11.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-11.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
esx-in-the-wild-12.vmx vmx2xmltest: Add another test case 2024-01-25 16:26:45 +01:00
esx-in-the-wild-12.xml vmx2xmltest: Add another test case 2024-01-25 16:26:45 +01:00
esx-in-the-wild-13.vmx vmx: Check serialX.vspc before serialX.fileName 2024-05-02 17:22:37 +02:00
esx-in-the-wild-13.xml vmx: Check serialX.vspc before serialX.fileName 2024-05-02 17:22:37 +02:00
ethernet-bridged.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ethernet-bridged.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ethernet-custom.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ethernet-custom.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ethernet-e1000.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ethernet-e1000.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ethernet-generated.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ethernet-generated.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ethernet-nat.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ethernet-nat.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ethernet-null.vmx Rename iterface type='dummy' to type='null' 2022-08-25 13:27:04 +02:00
ethernet-null.xml Rename iterface type='dummy' to type='null' 2022-08-25 13:27:04 +02:00
ethernet-other.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ethernet-other.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ethernet-static.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ethernet-static.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ethernet-vds.vmx vmx: Add support for VDS interface 2022-08-18 08:34:32 +02:00
ethernet-vds.xml vmx: Add support for VDS interface 2022-08-18 08:34:32 +02:00
ethernet-vmxnet2.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ethernet-vmxnet2.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ethernet-vpx.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ethernet-vpx.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
firmware-efi.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
firmware-efi.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
floppy-device.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
floppy-device.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
floppy-file.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
floppy-file.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
fusion-in-the-wild-1.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
fusion-in-the-wild-1.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
graphics-vnc.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
graphics-vnc.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
gsx-in-the-wild-1.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
gsx-in-the-wild-1.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
gsx-in-the-wild-2.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
gsx-in-the-wild-2.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
gsx-in-the-wild-3.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
gsx-in-the-wild-3.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
gsx-in-the-wild-4.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
gsx-in-the-wild-4.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
harddisk-ide-file-missing-datastore.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
harddisk-ide-file.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
harddisk-ide-file.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
harddisk-scsi-file-missing-file.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
harddisk-scsi-file.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
harddisk-scsi-file.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
harddisk-transient.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
harddisk-transient.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
minimal-64bit.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
minimal-64bit.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
minimal.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
minimal.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
parallel-device.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
parallel-device.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
parallel-file.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
parallel-file.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
scsi-driver.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
scsi-driver.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
scsi-writethrough.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
scsi-writethrough.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
serial-device.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
serial-device.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
serial-file.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
serial-file.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
serial-network-client.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
serial-network-client.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
serial-network-server.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
serial-network-server.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
serial-pipe-client-app.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
serial-pipe-client-app.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
serial-pipe-client-vm.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
serial-pipe-client-vm.xml tests: Add missing test cases to vmx2xmltest 2021-08-19 13:32:10 +02:00
serial-pipe-server-app.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
serial-pipe-server-app.xml tests: Add missing test cases to vmx2xmltest 2021-08-19 13:32:10 +02:00
serial-pipe-server-vm.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
serial-pipe-server-vm.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
serial-pipe.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
sharedfolder.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
sharedfolder.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
smbios.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
smbios.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
svga.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
svga.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ws-in-the-wild-1.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ws-in-the-wild-1.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ws-in-the-wild-2.vmx tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00
ws-in-the-wild-2.xml tests: Drop vmx2xml- prefix for vmx2xml test cases 2021-08-19 13:28:03 +02:00