nvme: Make sure the driver not exit when aer not supported.
QEMU's virtual NVMe controller device does not support the AER Set Feature, so ignore its failure and continue. Change-Id: I8b5c217a3112edabb6f76ec3e5f4ef774981a1d7 Signed-off-by: Cunyin Chang <cunyin.chang@intel.com>
This commit is contained in:
parent
8a6b62c9ec
commit
51b15b93e7
@ -810,7 +810,7 @@ nvme_ctrlr_configure_aer(struct spdk_nvme_ctrlr *ctrlr)
|
||||
}
|
||||
if (spdk_nvme_cpl_is_error(&status.cpl)) {
|
||||
SPDK_ERRLOG("nvme_ctrlr_cmd_set_async_event_config failed!\n");
|
||||
return -ENXIO;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* aerl is a zero-based value, so we need to add 1 here. */
|
||||
|
Loading…
Reference in New Issue
Block a user