mirror of
https://github.com/qemu/qemu.git
synced 2025-08-14 11:43:46 +00:00
![]() The emulated device had let the user set whatever max transfers size they wanted, including no limit. However the device does have an internal limit of 1024 segments. NVMe doesn't report max segments, though. This is implicitly inferred based on the MDTS and MPSMIN values. IOV_MAX is currently 1024 which 4k PRPs can exceed with 2MB transfers. Don't allow MDTS values that can exceed this, otherwise users risk seeing "internal error" status to their otherwise protocol compliant commands. Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Klaus Jensen <k.jensen@samsung.com> |
||
---|---|---|
.. | ||
ctrl.c | ||
dif.c | ||
dif.h | ||
Kconfig | ||
meson.build | ||
nguid.c | ||
ns.c | ||
nvme.h | ||
subsys.c | ||
trace-events | ||
trace.h |