Hi Tycho,

Yes, writing 0 to the status resister should reset the device
including all PCIE state.  This implies that vi_reset_dev() needs to
take the proper actions to bring the associated pci_devinst (which
from the guest’s perspective isn’t a discrete element) back to it’s
reset state too.

I'm not sure if the reset also hits PCIe state, if you're counting config space as part of that (e.g. BAR contents). As an example, the FreeBSD guest virtio code doesn't do any config space saves/restores around a reset.


freebsd-virtualization@freebsd.org mailing list
To unsubscribe, send any mail to 

Reply via email to