From f41543e16b49e0294028d1f4bb5a5667694536f1 Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Wed, 6 Jul 2016 16:17:21 +0800 Subject: [PATCH] virtio: Fix MSI support; thus unbreak booting on bhyve I'd like to thank Peter Grehan very much for providing various information on bhyve side and helping testing this patch. --- sys/dev/virtual/virtio/pci/virtio_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/virtual/virtio/pci/virtio_pci.c b/sys/dev/virtual/virtio/pci/virtio_pci.c index f131109ef9..8c67213b4c 100644 --- a/sys/dev/virtual/virtio/pci/virtio_pci.c +++ b/sys/dev/virtual/virtio/pci/virtio_pci.c @@ -851,7 +851,7 @@ vtpci_alloc_msi(struct vtpci_softc *sc) &sc->vtpci_irq_rid, &irq_flags); - return (1); + return (0); } static int -- 2.11.4.GIT