nvme virtualisation string for bhyve

From: void <void_at_f-m.fm>
Date: Sat, 14 Sep 2024 13:14:36 UTC
Hi,

I have a vm in bhyve. The virtual disk is a ssd zvol,
and the zpool the zvol is on is composed of two ssds in a stripe.

The ashift=12. The host OS is recent -current

I usually start my vms with a bhyve variable for the disk
like:

-s 4,virtio-blk,/dev/zvol/ssd/vm2 \

The man page for bhyve says this:

###  NVMe device backends
###       •   devpath[,maxq=#][,qsz=#][,ioslots=#][,sectsz=#][,ser=#][,eui64=#][,dsm=opt]

How do I get this information? Like maxq qsg ioslots sectorz ser eui64 dsm

The ssds are:

nvme0: <Intel DC PC4500>
nvme1: <DC P3700 SSD>

The ssds are of different sizes and different nvme versions:

nda0: nvme version 1.2
nda0: 3815447MB (7814037168 512 byte sectors)
nda1: nvme version 1.0
nda1: 1907729MB (3907029168 512 byte sectors)

thanks in advance for any tips/advice
--