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:
Augustin Cavalier 2019-06-29 15:18:27 -04:00
parent 9d75a81958
commit 8bb337b5fe

View File

@ -700,7 +700,7 @@ static int nvme_ctrlr_start(struct nvme_ctrlr *ctrlr)
return -1;
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_features(ctrlr);