Page MenuHomeFreeBSD

bhyve: fix NVMe queue creation and deletion
ClosedPublic

Authored by chuck on May 18 2020, 3:27 PM.

Details

Summary

Add checks for various types of invalid I/O Queue Create and Delete
command parameters, including:

  • QID=0
  • QID>MAX
  • QID already in use
  • Delete an Active CQ
  • Invalid QSIZE
  • Invalid CQID (SQ creation)
  • Invalid interrupt vector (CQ creation)

Fixes UNH Tests 1.4.2-5,7-8

Test Plan

Run UNH IOL INTERACT tests

Diff Detail

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

Event Timeline

chuck requested review of this revision.May 18 2020, 3:27 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jun 29 2020, 12:31 AM
This revision was automatically updated to reflect the committed changes.