qemu-e2k/hw/nvme
Niklas Cassel cccc2651f4 hw/nvme: add param to control auto zone transitioning to zone state closed
In the Zoned Namespace Command Set Specification, chapter
2.5.1 Managing resources

"The controller may transition zones in the ZSIO:Implicitly Opened state
to the ZSC:Closed state for resource management purposes."

The word may in this sentence means that automatically transitioning
an implicitly opened zone to closed is completely optional.

Add a new parameter so that the user can control if this automatic
transitioning should be performed or not.

Being able to control this can help with verifying that e.g. a user-space
program behaves properly even without this optional ZNS feature.

The default value is set to true, in order to not change the existing
behavior.

Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
[k.jensen: moved parameter to controller]
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
2021-06-29 07:16:25 +02:00
..
ctrl.c hw/nvme: add param to control auto zone transitioning to zone state closed 2021-06-29 07:16:25 +02:00
dif.c
Kconfig
meson.build
ns.c hw/nvme: fix lbaf formats initialization 2021-06-29 07:16:25 +02:00
nvme.h hw/nvme: add param to control auto zone transitioning to zone state closed 2021-06-29 07:16:25 +02:00
subsys.c
trace-events
trace.h