devctl rescan fails in guest after detach at host

Hello,

I'm using FreeBSD 11.0 as a guest and Linux in the host. I'm attaching VFs to the FreeBSD guest and that comes into PCI list after doing devctl rescan pci0.

The problem is I'm expecting that the device shouldn't be listed in the guest after detaching it from the guest and also a rescan.

Using Virsh virtual manager.

Any help would be appreciated!! Currently got stuck in my automation work.
 
Last edited by a moderator:
FreeBSD 11.0 is End-of-Life (November 2017) and not supported any more. Only FreeBSD 11.2 is supported, which will be updated to 11.3 soon.

 
SirDice Thanks for the reply. Issue is same in 11.2 as well. Do we have work around to make attach and detach work properly.
Reboot only gives good device setup while 'devctl rescan pci0' missing something that causes kernel panic when we do install/uninstall the pci driver in guest.
 
Back
Top