Re: bhyve: disable msi and msix on virtio reset?

2016-07-12 Thread Tycho Nightingale via freebsd-virtualization
Hi, 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. Tycho

[Bug 210425] [Hyper-V]"smartctl -i /dev/da0" on FreeBSD 10.3 on Windows 2010 & 2016 server caused disk detached

2016-07-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210425 Hongjiang changed: What|Removed |Added Resolution|--- |FIXED

Re: [Differential] D7185: Add virtio-console support to bhyve

2016-07-12 Thread Paul Vixie
Jakub Klama wrote: if it's never going to appear as /dev/console or any other tty-like device to the guest, then i won't care what it looks like on the host. however, you said it could carry resize events, which leads me to believe that the name (vertio-console) is not wrong, and it is a tty

Re: bhyve: disable msi and msix on virtio reset?

2016-07-12 Thread Peter Grehan
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.

Re: bhyve: disable msi and msix on virtio reset?

2016-07-12 Thread Tycho Nightingale via freebsd-virtualization
Hi, On Jul 12, 2016, at 7:38 PM, Peter Grehan wrote: >> 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

bhyve: disable msi and msix on virtio reset?

2016-07-12 Thread Andriy Gapon
A write of a zero to VTCFG_R_STATUS initiates a virtio device reset via vc_reset. Typically this means a call to vi_reset_dev() which resets a bunch of fields in virtio_softc, but does not touch a corresponding pci_devinst (hanging off vs_pi) at all. Among other things this means that PCI MSI