]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bhyve: implement NVMe device support
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Sat, 25 Oct 2025 08:15:55 +0000 (10:15 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 29 Oct 2025 10:45:42 +0000 (11:45 +0100)
commit79e46b16986c12bd8de64ee33366859f4fa9986a
tree4211c66669477bd1fe9c2a171e4915ec55f07fcc
parent1ab27a5b962992a311a3ba063a371ba37f0784bd
bhyve: implement NVMe device support

NVMe devices in bhyve are modeled this way:

 -s $pciaddr,nvme,devpath[,opts]

devpath can be a path to the image or the block device. It also can be
"ram=size_in_MiB", but this is not covered by this series.

There could be only a single device per PCI address.

Optional configuration options (such as max number of queues, concurrent
I/O requests, etc) are also not covered by this series.

Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/bhyve/bhyve_capabilities.c
src/bhyve/bhyve_capabilities.h
src/bhyve/bhyve_command.c
src/bhyve/bhyve_device.c
src/bhyve/bhyve_domain.c
tests/bhyvexml2argvdata/bhyvexml2argv-nvme.args [new file with mode: 0644]
tests/bhyvexml2argvdata/bhyvexml2argv-nvme.ldargs [new file with mode: 0644]
tests/bhyvexml2argvdata/bhyvexml2argv-nvme.xml [new file with mode: 0644]
tests/bhyvexml2argvtest.c
tests/bhyvexml2xmloutdata/bhyvexml2xmlout-nvme.xml [new file with mode: 0644]
tests/bhyvexml2xmltest.c