xemu/hw/nvme
Klaus Jensen 189a8bf7f6 hw/nvme: remove assert from nvme_get_zone_by_slba
Make nvme_get_zone_by_slba() return NULL if the slba is out of range.
This allows the function to be used without guarding the call with a
call to nvme_check_bounds(), in preparation for the next patch.

Add asserts after calling nvme_get_zone_by_slba() instead.

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
2021-06-29 07:16:25 +02:00
..
ctrl.c hw/nvme: remove assert from nvme_get_zone_by_slba 2021-06-29 07:16:25 +02:00
dif.c hw/nvme: save reftag when generating pi 2021-06-29 07:16:25 +02:00
Kconfig hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00
meson.build hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00
ns.c hw/nvme: default for namespace EUI-64 2021-06-29 07:16:25 +02:00
nvme.h hw/nvme: save reftag when generating pi 2021-06-29 07:16:25 +02:00
subsys.c hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00
trace-events hw/nvme: reimplement dsm to allow cancellation 2021-06-29 07:16:25 +02:00
trace.h hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00