HomeFreeBSD

bhyve: validate NVMe deallocate range values

Description

bhyve: validate NVMe deallocate range values

For NVMe emulation, validate the Data Set Management LBA ranges do not
exceed the capacity of the backing storage. If they do, return an "LBA
Out of Range" error.

Fixes UNH Test 2.2.3

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

Details

Provenance
chuckAuthored on
Differential Revision
D24893: bhyve: validate NVMe deallocate range values
Parents
rS362757: bhyve: base pci_nvme_ioreq size on advertised MDTS
Branches
Unknown
Tags
Unknown