HomeFreeBSD

- Add bhyve NVMe device emulation.

Description

  • Add bhyve NVMe device emulation.

The initial work on bhyve NVMe device emulation was done by the GSoC student
Shunsuke Mie and was heavily modified in performan, functionality and
guest support by Leon Dang.

bhyve:
-s <n>,nvme,devpath,maxq=#,qsz=#,ioslots=#,sectsz=#,ser=A-Z

accepted devpath:

		/dev/blockdev
		/path/to/image
		ram=size_in_MiB

Tested with guest OS: FreeBSD Head, Linux Fedora fc27, Ubuntu 18.04,

OpenSuse 15.0, Windows Server 2016 Datacenter.

Tested with all accepted device paths: Real nvme, zdev and also with ram.
Tested on: AMD Ryzen Threadripper 1950X 16-Core Processor and

Intel(R) Xeon(R) CPU E5-2609 v2 @ 2.50GHz.

Tests at: https://people.freebsd.org/~araujo/bhyve_nvme/nvme.txt

Submitted by: Shunsuke Mie <sux2mfgj_gmail.com>,

		Leon Dang <leon_digitalmsx.com>

Reviewed by: chuck (early version), grehan
Relnotes: Yes
Sponsored by: iXsystems Inc.
Differential Revision: https://reviews.freebsd.org/D14022

Details

Provenance
araujoAuthored on
Reviewer
chuck
Differential Revision
D14022: NVMe emulation for bhyve (improved)
Parents
rS335973: mxge: replace 65536 with IP_MAXPACKET in tso settings.
Branches
Unknown
Tags
Unknown