diff options
author | Klaus Jensen | 2020-12-09 13:10:45 +0100 |
---|---|---|
committer | Klaus Jensen | 2021-02-08 21:15:53 +0100 |
commit | 165f134f3d8f62cb74ab2f53e3b72158be0cfb31 (patch) | |
tree | 3e712c4c7d65978e29638bdd1839e79c454b64ca /replication.c | |
parent | hw/block/nvme: conditionally enable DULBE for zoned namespaces (diff) | |
download | qemu-165f134f3d8f62cb74ab2f53e3b72158be0cfb31.tar.gz qemu-165f134f3d8f62cb74ab2f53e3b72158be0cfb31.tar.xz qemu-165f134f3d8f62cb74ab2f53e3b72158be0cfb31.zip |
hw/block/nvme: fix shutdown/reset logic
A shutdown is only about flushing stuff. It is the host that should
delete any queues, so do not perform a reset here.
Also, on shutdown, make sure that the PMR is flushed if in use.
Fixes: 368f4e752cf9 ("hw/block/nvme: Process controller reset and shutdown differently")
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Tested-by: Dmitry Fomichev <dmitry.fomichev@wdc.com>
Reviewed-by: Dmitry Fomichev <dmitry.fomichev@wdc.com>
Diffstat (limited to 'replication.c')
0 files changed, 0 insertions, 0 deletions