]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: add basic NVMe Firmware Commit support
authorChuck Tuffli <chuck@FreeBSD.org>
Mon, 29 Jun 2020 00:32:11 +0000 (00:32 +0000)
committerChuck Tuffli <chuck@FreeBSD.org>
Mon, 29 Jun 2020 00:32:11 +0000 (00:32 +0000)
commit46ea62737453e40942035c199355cb801c4c09af
tree5b94e87957c67afd5b06802bd4e6d465b1b32bdf
parent106329ef33054b93d72eb0219eaff392f53665a3
bhyve: add basic NVMe Firmware Commit support

This commit updates the Identify Controller data to advertise the
Controller supports a single firmware slot and that firmware slot 1 is
read-only. Additionally, it returns an "Invalid Firmware Slot" error
when the host issues any Firmware Commit command (a.k.a. Firmware
Activate).

Fixes UNH Test 5.5.3

Tested by: Jason Tubnor
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D24897
usr.sbin/bhyve/pci_nvme.c