vtnet cannot allocate interrupts

Bryan Venteicher bryanv at daemoninthecloset.org
Mon Feb 11 18:40:42 UTC 2013


Hi,

----- Original Message -----
> From: "Marat Bakeev" <hawara at Hawara.com>
> To: freebsd-virtualization at freebsd.org
> Sent: Monday, February 11, 2013 6:30:51 AM
> Subject: vtnet cannot allocate interrupts
> 
> Hello.
> 
> After updating from http://svn.freebsd.org/base/projects/bhyve to
> http://svn.freebsd.org/base/head i cannot use vtnet device inside bhyve
> guests, both 10 and 9 freebsd.
> 
> I`m getting these errors at boot, and no vtnet device:
> 
> guest 9.1-RELEASE + virtio
> virtio_pci0: cannot allocate interrupts
> vtnet0: cannot allocate virtqueues
> (guest system boots, but no vtnet device)
> 
> guest 10.0-CURRENT
> virtio_pci0: <VirtIO PCI Network adapter> port 0x2000-0x201f mem
> 0x40000000-0x40001fff at device 1.0 on pci0
> vtnet0: <VirtIO Networking Adapter> on virtio_pci0
> virtio_pci0: host features: 0x18020 <Status,MrgRxBuf,MacAddress>
> virtio_pci0: negotiated features: 0x18020 <Status,MrgRxBuf,MacAddress>
> vtnet0: Ethernet address: 00:a0:98:e0:a7:44
> virtio_pci0: exhausted all interrupt allocation attempts
> vtnet0: cannot setup virtqueue interrupts
> (guest system hangs)
> 
> How to fix these errors?
> 

Recent bhyve changed to use MSIX instead of MSI. I wonder if that
is causing this. If you do:

$ BHYVE_USE_MSI=true bhyve ... 

does it work?

> Thanks.
> _______________________________________________
> freebsd-virtualization at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to
> "freebsd-virtualization-unsubscribe at freebsd.org"
> 


More information about the freebsd-virtualization mailing list