Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2022 14:17:35 -0700
From:      Chuck Tuffli <chuck@tuffli.net>
To:        Mario Marietto <marietto2008@gmail.com>
Cc:        FreeBSD virtualization <freebsd-virtualization@freebsd.org>
Subject:   Re: bhyve NVMe 1.4 support
Message-ID:  <CAM0tzX3YYqh=QDAhr0F45UymvpEYuNYGkyEV8wVukBVkS07g-A@mail.gmail.com>
In-Reply-To: <CA%2B1FSihL2uFgtNHwCwkstG4hR7h48wsQywuhaU4O7C39zChiHw@mail.gmail.com>
References:  <CAM0tzX1W1Do=uqA3PONyksY4dmob%2BZMi-ib7aECVx6AH3XW6Pw@mail.gmail.com> <CA%2B1FSig%2B2KrFDgCJCJb3pJurq347fVdcpS2v7WTjthhmHV%2Brog@mail.gmail.com> <CA%2B1FSihL2uFgtNHwCwkstG4hR7h48wsQywuhaU4O7C39zChiHw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It sounds like you might be hitting
  PR 260178: bhyve: passthru makes ahci-hd boot fail
The jist is, direct block I/O will fail in combination with PCI
pass-thru devices. See the proposed fix at
https://reviews.freebsd.org/D34607

On Mon, Mar 21, 2022 at 4:18 AM Mario Marietto <marietto2008@gmail.com> wro=
te:
>
> Just to inform you that I've passed through the M2 disk as a PCI device a=
nd now all the partitions inside the disk are correctly detected by Linux.
>
> Il giorno lun 21 mar 2022 alle ore 00:26 Mario Marietto <marietto2008@gma=
il.com> ha scritto:
>>
>> if i want to boot any os installed physically on a disk,not matter what,=
it will not boot if i want also pass thru a disk or a graphic card. this is=
 the reason why im trying to pass as much as disks i can using the -s slot.=
 I see that the usb disks can be passed through using -s with the virtio-bl=
k or virtio-scsi driver,but none of these drivers work with the m2 / nvme d=
isk.
>>
>> Il mar 7 dic 2021, 16:58 Chuck Tuffli <chuck@tuffli.net> ha scritto:
>>>
>>> I've been working on a patch series to get bhyve's NVMe emulation
>>> compliant with the v1.4 specification. The compliance tests now pass,
>>> and I will work on getting the patches up for review "soon". In the
>>> meantime, there is a copy of the full changes if anyone is interested
>>> in testing on current or 13-stable.
>>>
>>> https://people.freebsd.org/~chuck/nvme-1.4/pci_nvme.c
>>>
>>> --chuck
>>>
>
>
> --
> Mario.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM0tzX3YYqh=QDAhr0F45UymvpEYuNYGkyEV8wVukBVkS07g-A>