VMware Cloud Community
jasperli
Contributor
Contributor

PCI device issue

Hi,

My VM was using  a X710 NIC with PCI passthrough on. I always met the issue that sometimes driver is missing in /sys/bus/pci/devices/0000:03:00.0/ of my VM.  I tried below step to reset the PCI device in VM:

sudo echo "1" > /sys/bus/pci/devices/0000:03:00.0/remove

sudo echo "1" > /sys/bus/pci/rescan

Then driver appeared in /sys/bus/pci/devices/0000:03:00.0/

But driver will disappear again once I start my service in VM. Rebooting the EXSi will make it back to work but it's too heavy. 

How to debug the issue? How to reset the PCI device in ESXi in a light way?

Thanks

0 Kudos
0 Replies