Page MenuHomeFreeBSD

bhyve: fix NVMe Get Log Page command
Needs ReviewPublic

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

Details

Reviewers
jhb
imp
Group Reviewers
bhyve
Summary

Fix the logic in nvme_opc_get_log_page to calculate the number of DWORDS
(uint32_t) instead of WORDS (uint16_t) for the byte length. And only
return the allowed number of Log Page bytes as determined by the user
request and actual size of the requested log page.

Fixes UNH Test 1.3

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, 2:52 PM
chuck requested review of this revision.Mon, May 18, 2:52 PM