Page MenuHomeFreeBSD

bhyve: implement NVMe Format NVM command
Needs ReviewPublic

Authored by chuck on Mon, May 18, 3:52 PM.

Details

Reviewers
jhb
imp
Group Reviewers
bhyve
Summary

The Format NVM command mainly allows the host to specify the block size
and protection information used for the Namespace. As the bhyve
implementation simply maps the capabilities of the backing storage
through to the guest, there isn't anything to implement. But a side
effect of the format is the NVMe Controller shall not return any data
previously written (i.e. erase previously written data). This patch
implements this later behavior to provide a compliant implementation.

Fixes UNH Test 1.6

Test Plan

Run UNH IOL INTERACT tests

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

chuck created this revision.Mon, May 18, 3:52 PM
chuck requested review of this revision.Mon, May 18, 3:52 PM