Page MenuHomeFreeBSD

Fix bhyve's NVMe Identify Namespace data
ClosedPublic

Authored by chuck on Thu, Mar 14, 9:48 AM.

Details

Summary

The NVMe Identify Namespace data structure's Number of LBA Formats
(NLBAF) field is a 0's based value (i.e. 0x0 means 1). Since the
emulation only supports a single format, set NLBAF to 0x0, not 1.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

chuck created this revision.Thu, Mar 14, 9:48 AM
chuck updated this revision to Diff 55049.Thu, Mar 14, 9:49 AM

style(9)

rgrimes accepted this revision as: rgrimes.Thu, Mar 14, 11:29 AM
rgrimes added a reviewer: jhb.
This revision is now accepted and ready to land.Thu, Mar 14, 11:30 AM
imp accepted this revision.Thu, Mar 14, 11:18 PM
araujo accepted this revision.Fri, Mar 15, 12:11 AM

LGTM!

This revision was automatically updated to reflect the committed changes.