]> xenbits.xensource.com Git - libvirt.git/commit
vmx: Do not require DVS Port ID
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 13 May 2024 10:24:19 +0000 (12:24 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 14 May 2024 06:32:13 +0000 (08:32 +0200)
commit2482801608b80461e67dcfcaf66ce28134688203
tree4daf0fc4f7efaa8d681495259d6122d5885b923d
parent2566522a55977e03c4df124b16aeaf38ad801bb1
vmx: Do not require DVS Port ID

It can be safely removed from the VMX, VMWare will still boot the
machine and once another ethernet is added it is updated in the VMX to
zero.  So do not require it and default to zero too since this part of
the XML is done as best effort and it is mentioned even in our
documentation.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/vmx/vmx.c
tests/vmx2xmldata/ethernet-vds-no-portid.vmx [new file with mode: 0644]
tests/vmx2xmldata/ethernet-vds-no-portid.xml [new file with mode: 0644]