jchando
Contributor
Contributor

NO PCIe/PCI slots available when attempting to add a NIC to a Workstation BIOS vm

Jump to solution

I recently virtualized a Windows 10 20H2 disk that had been set up as a GPT disk with an UEFI partition.  After virtualizatzing the disk, i followed an EXCELLENT article that was able to change the GPT disk to a BIOS booting disk  WITH NO DATA LOSS here: https://infra.engineer/windows/68-windows-server-convert-uefi-to-bios-without-data-loss-for-free

The only problem I am having now is that I cannot add a NIC to the machine when the machine is on; it results in a error that says

Cannot assign a PCI slot to 'ethernet0'. There are no more hot-pluggable PCI slots available in the virtual machine. Remove some devices from the virtual machine configuration and try again.

The above error is then followed by a second error that says

Device 'ethernet0' could not be hot-added.  No free hot-pluggable PCI(e) slot is available.

I know that there is a misconfiguration in the VMX file and I have made different attempts to fix it without success.  I have zipped both the VMX file and the error log.  Can anyone take a look or help resolve the error?  Many thanks in advance.

0 Kudos
1 Solution

Accepted Solutions
jchando
Contributor
Contributor

Workstation 15 permits the hot-adding of a NIC.  What fixed the issue was the following link that provided entries in the VMX file:

https://community.netapp.com/t5/Simulator-Discussions/issues-about-Simulator-Clustered-ONTAP-8-2-1RC...

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"

I had to convert from EFI to MBR because at work we will be converting an ESXi cluster running on hyperconverged Nutanix hardware to running natively on the Nutanix hypervisor.  For the conversion to be successful with every VM (and we have a few hundred,) any VM machine that boots  from a UEFI partition must be changed to boot through a MBR.  We only have about 15 VMs that are affected but we needed to come up with a way to convert them without losing any data.

View solution in original post

0 Kudos
4 Replies
ender_
Hot Shot
Hot Shot

Is this about VMWare Workstation or ESXi? I don't think Workstation lets you hot-add network cards.

(also, why did you convert from GPT to MBR? Both Workstation and ESXi support UEFI boot)

0 Kudos
jchando
Contributor
Contributor

Workstation 15 permits the hot-adding of a NIC.  What fixed the issue was the following link that provided entries in the VMX file:

https://community.netapp.com/t5/Simulator-Discussions/issues-about-Simulator-Clustered-ONTAP-8-2-1RC...

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"

I had to convert from EFI to MBR because at work we will be converting an ESXi cluster running on hyperconverged Nutanix hardware to running natively on the Nutanix hypervisor.  For the conversion to be successful with every VM (and we have a few hundred,) any VM machine that boots  from a UEFI partition must be changed to boot through a MBR.  We only have about 15 VMs that are affected but we needed to come up with a way to convert them without losing any data.

0 Kudos
continuum
Immortal
Immortal

Hi

we need the complete vmx-file to help you.
At the very least we need all the lines which specify PCIports

plus the virtualDev lines  for ethernet* and scsi*

 

Ulli


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
jchando
Contributor
Contributor

Thanks very much for your reply but this has already been resolved.

0 Kudos