libnvme: make configure_aer failing a warning.
The spec generally requires this feature, but some emulated hardware (e.g. QEMU) does not support it. SPDK seems to just ignore the error and continue on with a warning, so let's do the same here.
This commit is contained in:
parent
9d75a81958
commit
8bb337b5fe
@ -700,7 +700,7 @@ static int nvme_ctrlr_start(struct nvme_ctrlr *ctrlr)
|
|||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
if (nvme_ctrlr_configure_aer(ctrlr) != 0)
|
if (nvme_ctrlr_configure_aer(ctrlr) != 0)
|
||||||
return -1;
|
nvme_warning("controller does not support AER!\n");
|
||||||
|
|
||||||
nvme_ctrlr_set_supported_log_pages(ctrlr);
|
nvme_ctrlr_set_supported_log_pages(ctrlr);
|
||||||
nvme_ctrlr_set_supported_features(ctrlr);
|
nvme_ctrlr_set_supported_features(ctrlr);
|
||||||
|
Loading…
Reference in New Issue
Block a user