devctl rescan fails in guest after detach at host

promilton

New Member


Messages: 2

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:
OP
OP
P

promilton

New Member


Messages: 2

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.
 
Top