diff options
author | Klaus Jensen | 2021-01-19 21:01:15 +0100 |
---|---|---|
committer | Klaus Jensen | 2021-03-09 11:00:57 +0100 |
commit | 975b64665048e8e283a3c9cad9808da0a014e283 (patch) | |
tree | deaf5376fcadba5e12f83f7cf2039f885894d08c /monitor | |
parent | hw/block/nvme: remove unused parameter in check zone write (diff) | |
download | qemu-975b64665048e8e283a3c9cad9808da0a014e283.tar.gz qemu-975b64665048e8e283a3c9cad9808da0a014e283.tar.xz qemu-975b64665048e8e283a3c9cad9808da0a014e283.zip |
hw/block/nvme: refactor zone resource management
Zone transition handling and resource management is open coded (and
semi-duplicated in the case of open, close and finish).
In preparation for Simple Copy command support (which also needs to open
zones for writing), consolidate into a set of 'nvme_zrm' functions and
in the process fix a bug with the controller not closing an open zone to
allow another zone to be explicitly opened.
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'monitor')
0 files changed, 0 insertions, 0 deletions