summary refs log tree commit diff stats
path: root/hw/core/machine.c
diff options
context:
space:
mode:
authorKlaus Jensen <k.jensen@samsung.com>2023-05-24 11:28:34 +0200
committerKlaus Jensen <k.jensen@samsung.com>2023-06-28 11:22:17 +0200
commit3ae8a54a087d54cfd109ab3d844ff4cba54a28d8 (patch)
tree0d9c7d8e3074d00aee2c88f9f084241e267ae7fc /hw/core/machine.c
parent381ab99d858709eab34b65d123a6356b8b1e87bd (diff)
downloadfocaccia-qemu-3ae8a54a087d54cfd109ab3d844ff4cba54a28d8.tar.gz
focaccia-qemu-3ae8a54a087d54cfd109ab3d844ff4cba54a28d8.zip
hw/nvme: fix verification of number of ruhis
Fix a off-by-one error when verifying the number of reclaim unit handle
identifiers specified in fdp.ruhs. To make the fix nicer, move the
verification of the fdp.nruh parameter to an earlier point.

Fixes: 73064edfb864 ("hw/nvme: flexible data placement emulation")
Reviewed-by: Jesper Wendel Devantier <j.devantier@samsung.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'hw/core/machine.c')
0 files changed, 0 insertions, 0 deletions