summaryrefslogtreecommitdiffstats
path: root/monitor
diff options
context:
space:
mode:
authorKlaus Jensen2021-01-19 21:01:15 +0100
committerKlaus Jensen2021-03-09 11:00:57 +0100
commit975b64665048e8e283a3c9cad9808da0a014e283 (patch)
treedeaf5376fcadba5e12f83f7cf2039f885894d08c /monitor
parenthw/block/nvme: remove unused parameter in check zone write (diff)
downloadqemu-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