qemu/hw/nvme
Klaus Jensen 8c78015a55 hw/nvme: fix invalid check on mcl
The number of logical blocks within a source range is converted into a
1s based number at the time of parsing. However, when verifying the copy
length we add one again, causing the check against MCL to fail in error.

Cc: qemu-stable@nongnu.org
Fixes: 381ab99d85 ("hw/nvme: check maximum copy length (MCL) for COPY")
Reviewed-by: Minwoo Im <minwoo.im@samsung.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
2024-03-12 15:48:56 +01:00
..
ctrl.c hw/nvme: fix invalid check on mcl 2024-03-12 15:48:56 +01:00
dif.c hw/nvme: fix CRC64 for guard tag 2023-08-08 08:09:38 +02:00
dif.h hw/nvme: 64-bit pi support 2022-03-03 09:30:21 +01:00
Kconfig kconfig: Add NVME to s390x machines 2023-09-12 12:07:16 +02:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
ns.c hw/nvme: Clean up local variable shadowing in nvme_ns_init() 2023-09-29 10:07:20 +02:00
nvme.h hw/nvme: fix compliance issue wrt. iosqes/iocqes 2023-08-07 12:27:24 +02:00
subsys.c hw/nvme: fix verification of number of ruhis 2023-06-28 11:22:17 +02:00
trace-events hw/nvme: fix compliance issue wrt. iosqes/iocqes 2023-08-07 12:27:24 +02:00
trace.h