mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 23:55:23 +00:00
6336fcd9f8
Previously, we accepted empty bridge name, because some old versions of
VMWare Workstation did not put it into the config. But this doesn't make
much sense - to have an interface type bridge with no name. We
circumvented this problem by generating an empty name but that is
equally wrong.
Therefore, fill in missing bridge names (according to the documentation
[1] the default bridge name is VMnet0) and error out if bridge name is
missing.
This partially reverts f246cdb5ac
1: https://docs.vmware.com/en/VMware-Workstation-Player-for-Linux/16.0/com.vmware.player.linux.using.doc/GUID-BAFA66C3-81F0-4FCA-84C4-D9F7D258A60A.html
Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
.encoding = "UTF-8"
|
|
config.version = "8"
|
|
virtualHW.version = "9"
|
|
guestOS = "other"
|
|
uuid.bios = "56 4d 70 88 01 a1 98 32-e7 2b 67 90 c7 3b 64 ea"
|
|
displayName = "ATTM_VM"
|
|
memsize = "3572"
|
|
numvcpus = "2"
|
|
scsi0.present = "true"
|
|
scsi0.virtualDev = "buslogic"
|
|
scsi0:0.present = "true"
|
|
scsi0:0.deviceType = "scsi-hardDisk"
|
|
scsi0:0.fileName = "/vmfs/volumes/datastore/directory/ATTM_VM.vmdk"
|
|
ide0:0.present = "true"
|
|
ide0:0.deviceType = "atapi-cdrom"
|
|
ide0:0.autodetect = "true"
|
|
ide0:0.fileName = "auto detect"
|
|
floppy0.present = "false"
|
|
floppy1.present = "false"
|
|
ethernet0.present = "true"
|
|
ethernet0.networkName = "VMnet0"
|
|
ethernet0.connectionType = "bridged"
|
|
ethernet0.addressType = "generated"
|
|
ethernet0.generatedAddress = "00:0c:29:3b:64:ea"
|
|
ethernet0.generatedAddressOffset = "0"
|
|
ethernet1.present = "true"
|
|
ethernet1.networkName = "VMnet0"
|
|
ethernet1.connectionType = "bridged"
|
|
ethernet1.addressType = "generated"
|
|
ethernet1.generatedAddress = "00:0c:29:3b:64:f4"
|
|
ethernet1.generatedAddressOffset = "0"
|
|
svga.vramSize = "4194304"
|
|
pciBridge0.present = "true"
|
|
pciBridge4.present = "true"
|
|
pciBridge4.virtualDev = "pcieRootPort"
|
|
pciBridge4.functions = "8"
|
|
pciBridge5.present = "true"
|
|
pciBridge5.virtualDev = "pcieRootPort"
|
|
pciBridge5.functions = "8"
|
|
pciBridge6.present = "true"
|
|
pciBridge6.virtualDev = "pcieRootPort"
|
|
pciBridge6.functions = "8"
|
|
pciBridge7.present = "true"
|
|
pciBridge7.virtualDev = "pcieRootPort"
|
|
pciBridge7.functions = "8"
|
|
vmci0.present = "true"
|