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

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Just to inform you that I've passed through the M2 disk as a PCI device and
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@gmail.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-blk
> or virtio-scsi driver,but none of these drivers work with the m2 / nvme
> disk.
>
> 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.

[-- Attachment #2 --]
<div dir="ltr">Just to inform you that I&#39;ve passed through the M2 disk as a PCI device and now all the partitions inside the disk are correctly detected by Linux. <br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno lun 21 mar 2022 alle ore 00:26 Mario Marietto &lt;<a href="mailto:marietto2008@gmail.com">marietto2008@gmail.com</a>&gt; ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><span style="font-family:sans-serif;font-size:12.8px">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-blk or virtio-scsi driver,but none of these drivers work with the m2 / nvme disk.</span></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il mar 7 dic 2021, 16:58 Chuck Tuffli &lt;<a href="mailto:chuck@tuffli.net" target="_blank">chuck@tuffli.net</a>&gt; ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I&#39;ve been working on a patch series to get bhyve&#39;s NVMe emulation<br>
compliant with the v1.4 specification. The compliance tests now pass,<br>
and I will work on getting the patches up for review &quot;soon&quot;. In the<br>
meantime, there is a copy of the full changes if anyone is interested<br>
in testing on current or 13-stable.<br>
<br>
<a href="https://people.freebsd.org/~chuck/nvme-1.4/pci_nvme.c" rel="noreferrer noreferrer" target="_blank">https://people.freebsd.org/~chuck/nvme-1.4/pci_nvme.c</a><br>;
<br>
--chuck<br>
<br>
</blockquote></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Mario.<br></div>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSihL2uFgtNHwCwkstG4hR7h48wsQywuhaU4O7C39zChiHw>