diff options
| author | Klaus Jensen <k.jensen@samsung.com> | 2020-12-09 13:10:45 +0100 |
|---|---|---|
| committer | Klaus Jensen <k.jensen@samsung.com> | 2021-02-08 21:15:53 +0100 |
| commit | 165f134f3d8f62cb74ab2f53e3b72158be0cfb31 (patch) | |
| tree | 3e712c4c7d65978e29638bdd1839e79c454b64ca /hw/avr/arduino.c | |
| parent | 1b5804a80d8bd6ecb8910e864afb89049279df17 (diff) | |
| download | focaccia-qemu-165f134f3d8f62cb74ab2f53e3b72158be0cfb31.tar.gz focaccia-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 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions