diff options
author | Keith Busch | 2020-09-30 19:54:05 +0200 |
---|---|---|
committer | Klaus Jensen | 2020-10-27 11:29:25 +0100 |
commit | 492f9a8d79f2e815007e985cad8dd73b713722f0 (patch) | |
tree | fbe048be143fcc3ba43749ae60610031ff46e297 /hw/block/trace-events | |
parent | hw/block/nvme: support per-namespace smart log (diff) | |
download | qemu-492f9a8d79f2e815007e985cad8dd73b713722f0.tar.gz qemu-492f9a8d79f2e815007e985cad8dd73b713722f0.tar.xz qemu-492f9a8d79f2e815007e985cad8dd73b713722f0.zip |
hw/block/nvme: validate command set selected
Fail to start the controller if the user requests a command set that the
controller does not support.
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'hw/block/trace-events')
-rw-r--r-- | hw/block/trace-events | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/block/trace-events b/hw/block/trace-events index e56d688b88..7b28091bd6 100644 --- a/hw/block/trace-events +++ b/hw/block/trace-events @@ -132,6 +132,7 @@ pci_nvme_err_startfail_cqent_too_small(uint8_t log2ps, uint8_t maxlog2ps) "nvme_ pci_nvme_err_startfail_cqent_too_large(uint8_t log2ps, uint8_t maxlog2ps) "nvme_start_ctrl failed because the completion queue entry size is too large: log2size=%u, max=%u" pci_nvme_err_startfail_sqent_too_small(uint8_t log2ps, uint8_t maxlog2ps) "nvme_start_ctrl failed because the submission queue entry size is too small: log2size=%u, min=%u" pci_nvme_err_startfail_sqent_too_large(uint8_t log2ps, uint8_t maxlog2ps) "nvme_start_ctrl failed because the submission queue entry size is too large: log2size=%u, max=%u" +pci_nvme_err_startfail_css(uint8_t css) "nvme_start_ctrl failed because invalid command set selected:%u" pci_nvme_err_startfail_asqent_sz_zero(void) "nvme_start_ctrl failed because the admin submission queue size is zero" pci_nvme_err_startfail_acqent_sz_zero(void) "nvme_start_ctrl failed because the admin completion queue size is zero" pci_nvme_err_startfail(void) "setting controller enable bit failed" |