mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 16:15:23 +00:00
bb072e8a38
VMware ESX does not always set the "serialX.fileType" tag in VMX files. The default value for this tag is "device", and when adding a new serial port of this type VMware will omit the fileType tag. This caused libvirt to fail to parse the VMX file. Fixed by making this tag optional and using "device" as a default value. Also updated vmx2xmltest to test for this case. Signed-off-by: Eric Blake <eblake@redhat.com>
8 lines
187 B
Plaintext
8 lines
187 B
Plaintext
config.version = "8"
|
|
virtualHW.version = "4"
|
|
serial0.present = "true"
|
|
serial0.fileType = "device"
|
|
serial0.fileName = "/dev/ttyS0"
|
|
serial1.present = "true"
|
|
serial1.fileName = "/dev/ttyS1"
|