diff options
| author | Klaus Jensen <k.jensen@samsung.com> | 2021-01-26 12:32:29 +0100 |
|---|---|---|
| committer | Klaus Jensen <k.jensen@samsung.com> | 2021-03-09 11:00:57 +0100 |
| commit | 9ae390046164e8b62fbdc48d2c6de8ee6fbd3cdc (patch) | |
| tree | e66725487e3dba069f56e4b73dd4c41677f533c6 /tests/unit/test-string-output-visitor.c | |
| parent | 92323c8c2566b8ea4cdfe8e72a22d2651b0ee6af (diff) | |
| download | focaccia-qemu-9ae390046164e8b62fbdc48d2c6de8ee6fbd3cdc.tar.gz focaccia-qemu-9ae390046164e8b62fbdc48d2c6de8ee6fbd3cdc.zip | |
hw/block/nvme: add missing mor/mar constraint checks
Firstly, if zoned.max_active is non-zero, zoned.max_open must be less than or equal to zoned.max_active. Secondly, if only zones.max_active is set, we have to explicitly set zones.max_open or we end up with an invalid MAR/MOR configuration. This is an artifact of the parameters not being zeroes-based like in the spec. Cc: Dmitry Fomichev <dmitry.fomichev@wdc.com> Reported-by: Gollu Appalanaidu <anaidu.gollu@samsung.com> Signed-off-by: Klaus Jensen <k.jensen@samsung.com> Reviewed-by: Dmitry Fomichev <dmitry.fomichev@wdc.com>
Diffstat (limited to 'tests/unit/test-string-output-visitor.c')
0 files changed, 0 insertions, 0 deletions