Skip to content

Conversation

@Joshzxj
Copy link

@Joshzxj Joshzxj commented Jan 5, 2026

Description

Similar to commit 76b1cea which added VirtualVmxnet2, this adds support for VirtualVmxnet (the base vmxnet adapter type) to the list of available ethernet card types.

VC doesn't explicity block creating VirtualVmxnet network adapters for VM.
Which means it allows users to create VirtualVmxnet network adapters for specific type of VM.

But Govmomi doesn't support and return empty for VirtualVmxnet adaptor. There is no depreciation story of this type of adaptor. So our workflow is still try not block this type of VM.

How Has This Been Tested?

Before the fix, my workflow keeps panic because BaseVirtualEthernetCard return nil

59ef298972a4" panic="interface conversion: interface is nil, not types.BaseVirtualEthernetCard" panicGoValue="&runtime.TypeAssertionError{_interface:(*abi.Type)(nil), concrete:(*abi.Type)(nil), asserted:(*abi.Type)(0x21fdaa0),

After the fix, I tested on my testbed. The govmomi call doesn't return empty type for VirtualVmxnet adaptor which unblocked the test.

Guidelines

Please read and follow the CONTRIBUTION [guidelines] of this project.

Signed-off-by: Zexing Jiang [email protected]

@Joshzxj Joshzxj marked this pull request as ready for review January 7, 2026 01:28
Similar to commit 76b1cea which added
VirtualVmxnet2, this adds support for VirtualVmxnet (the base vmxnet
adapter type) to the list of available ethernet card types.

This allows users to create VirtualVmxnet network adapters when adding
network devices to VMs.

Signed-off-by: Zexing Jiang <[email protected]>
@Joshzxj Joshzxj force-pushed the add-vmxnet-support branch from 83ca508 to caad5b5 Compare January 7, 2026 01:41
@akutz akutz merged commit 154a4ec into vmware:main Jan 8, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants