Symptoms:
hostd.log:
------------
2024-09-05T14:51:29.981Z verbose hostd[2107901] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/Datastore_Name/VM_name/VM_name.vmx opID=vim-cmd-ee-d554 user=root] PowerOn request queued
2024-09-05T14:51:32.048Z verbose hostd[2107901] [Originator@6876 sub=Vigor.Vmsvc.vm:/vmfs/volumes/Datastore_Name/VM_name/VM_name.vmx opID=vim-cmd-ee-d554] Power On message: Module 'DevicePowerOn' power on failed.
--> Failed to start the virtual machine.
vmware.log:
----------
2024-09-05T14:51:31.984Z In(05) vmx - AH Failed to find suitable device for pciPassthru0
2024-09-05T14:51:31.984Z In(05) vmx - AH pciPassthru: failed to get instance ID for 0000:46:00.5
2024-09-05T14:51:31.984Z In(05) vmx - AH Faild to get instance ID for pciPassthru0 device 0000:46:00.5
2024-09-05T14:51:31.984Z In(05) vmx - Module 'DevicePowerOn' power on failed
2024-09-05T14:51:32.042Z In(05)+ vmx - Power on failure messages: Module 'DevicePowerOn' power on failed.
2024-09-05T14:51:32.042Z In(05)+ vmx - Failed to start the virtual machine.
Select the VM --> Right click Edit settings --> Virtual Hardware --> Expand the PCI device
vCenter server 7.x
vCenter server 8.x
This issue occurs when the host is having trouble finding or assigning a PCI device to a virtual machine through PCI passthrough.
Steps to be followed:
1. Check the status of the PCI device in the host,
2. Ensure to have the "Passthrough" status as "Enabled".
3. If the Passthrough status of PCI device is in disabled state, Click on “Toggle Passthrough” and it changes to enabled state
4. Once the passthrough status is enabled in host, PCI device to a virtual machine through PCI passthrough will be automatically enabled in the Virtual Machine as follows,
5. Power on the Virtual Machine