Re: bhyve NVMe 1.4 support

From: Mario Marietto <marietto2008_at_gmail.com>
Date: Sun, 20 Mar 2022 19:57:28 UTC
host :

root@marietto:/usr/home/marietto/bhyve # nvmecontrol identify nvme0ns1 |
grep "LBA Format"

Number of LBA Formats:       1
Current LBA Format:          LBA Format #00
LBA Format #00: Data Size:   512  Metadata Size:     0  Performance: Best

guest :

root@marietto-BHYVE:/home/marietto# nvme id-ns /dev/nvme0n1 | grep lba

nlbaf   : 0
flbas   : 0
lbaf  0 : ms:0   lbads:9  rp:0 (in use)


Il giorno dom 20 mar 2022 alle ore 20:41 Chuck Tuffli <chuck@tuffli.net> ha
scritto:

> On Sun, Mar 20, 2022 at 12:03 PM Mario Marietto <marietto2008@gmail.com>
> wrote:
> >
> > on FreeBSD :
> >
> > root@marietto:/usr/home/marietto/bhyve # hd -n 256 /dev/nvd0
> <snip>
> > On Ubuntu 21.10 :
> >
> > root@marietto-BHYVE:/home/marietto# hd -n 256 /dev/nvme0n1
> <snip>
>
> Thank you. The outputs show the first 256 bytes of nvd0 and nvme0n1
> match. It might be worth checking a larger range (e.g. 1MB), but I'd
> expect that would match as well. Out of curiosity, on the host, what
> output do you get from:
>     # nvmecontrol identify nvme0ns1 | grep "LBA Format"
> and on the guest:
>     # nvme id-ns /dev/nvme0n1 | grep lba
>


-- 
Mario.