hw/nvme: clear aen mask on reset
The internally maintained AEN mask is not cleared on reset. Fix this. Reviewed-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
This commit is contained in:
parent
b9147a3aa1
commit
98836e8e01
@ -6167,6 +6167,7 @@ static void nvme_ctrl_reset(NvmeCtrl *n, NvmeResetType rst)
|
||||
}
|
||||
|
||||
n->aer_queued = 0;
|
||||
n->aer_mask = 0;
|
||||
n->outstanding_aers = 0;
|
||||
n->qs_created = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user