pci_virtio_block.c Assertion failed: line 216

Peter Grehan grehan at freebsd.org
Tue Jan 3 19:36:13 UTC 2017

Hi Harry,

> trying to use bhyve(8) with virtio-blk and Windows guest results in core
> dump:
> Assertion failed: (n >= 2 && n <= BLOCKIF_IOV_MAX + 2), function
> pci_vtblk_proc, file usr.sbin/bhyve/pci_virtio_block.c, line
> 216.
> Abort trap (core dumped)
> Unfortunately this is on a production-test machine which lacks gdb etc.
> Will try to reproduce on antoher machine, but maybe someone already
> knows that problem?

  virtio-blk isn't currently supported with Windows guests. You'll need 
to use ahci-hd for now.

  However, I do have a fix that can hopefully be committed shortly.



More information about the freebsd-virtualization mailing list