Re: Assertion failed: (n >= 2 && n <= BLOCKIF_IOV_MAX + 2), function pci_vtblk_proc, file /usr/src/usr.s bin/bhyve/pci_virtio_block.c, line 324.

From: Vincenzo Maffione <vmaffione_at_freebsd.org>
Date: Sun, 13 Mar 2022 09:20:33 UTC
I'd say that's a bug by definition, since bhyve should not crash even in
case of invalid input from the guest virtio driver.
I don't know if it can apply in your case, but have you tried to use
virtio-scsi in place of virtio-blk? The former is supposed to be the
recommended one.

Cheers,
  Vincenzo

Il giorno dom 13 mar 2022 alle ore 00:13 Mario Marietto <
marietto2008@gmail.com> ha scritto:

> Hello.
>
> I want to understand if I'm dealing with a bug or with a regular method of
> working. So,please be patient with me. What I want to achieve is to pass
> thru two of my NTFS "formatted" disks to a Windows 11 VM,but without
> passing them thru using the USB controller. I'm using :
>
> FreeBSD marietto 13.0-RELEASE FreeBSD 13.0-RELEASE #5 n244809-dff3dead3734: Wed Feb 23 13:16:32 CET
> 2022     marietto@marietto:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64
>
>
> more about this bug,here :
>
>
> https://forums.freebsd.org/threads/usb-3-0-disks-not-recognized-by-windows-if-passed-through-as-slots.84402/#post-559856
>
> --
> Mario.
>