HomeFreeBSD

bhyve: fix NVMe queue creation and deletion

Description

bhyve: fix NVMe queue creation and deletion

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

Tested by: Jason Tubnor
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D24886

Details

Provenance
chuckAuthored on
Differential Revision
D24886: bhyve: fix NVMe queue creation and deletion
Parents
rS362751: bhyve: fix NVMe Get Log Page command
Branches
Unknown
Tags
Unknown