bhyve: disable msi and msix on virtio reset?

Peter Grehan grehan at freebsd.org
Tue Jul 12 23:38:52 UTC 2016


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.

later,

Peter.


More information about the freebsd-virtualization mailing list