HomeFreeBSD

bhyve nvme: Fix reported SANICAP value

Description

bhyve nvme: Fix reported SANICAP value

The NVMe specification only allows Controllers compliant with the
revision 1.3 and earlier specification to report a value of 0x0 in the
No-Deallocate Modifies Media After Sanitize (NODMMAS) field.

For our revision 1.4 Controller, report that media is not modified after
Sanitize as the implementation does not implement Sanitize.

Fixes UNH Test 1.1.2

(cherry picked from commit ec0efe34dd486359d57bc1e792a0e4f9280f66d7)

Details

Provenance
chuckAuthored on Aug 16 2022, 4:14 PM
Parents
rGdcdb43f28fac: bhyve nvme: Fix firmware read only initialization
Branches
Unknown
Tags
Unknown