diff options
author | Klaus Jensen <k.jensen@samsung.com> | 2020-02-23 08:38:22 -0800 |
---|---|---|
committer | Klaus Jensen <k.jensen@samsung.com> | 2020-09-02 08:48:50 +0200 |
commit | e137d20e7dfff00d0662b3d2d256e9c92f7a7f4a (patch) | |
tree | a5e8ef285dc054be0f03d501a0a671dc817c2f31 /hw/block/trace-events | |
parent | 36c100f530b52cc43ad214c48dcfe4c6752859b6 (diff) | |
download | qemu-e137d20e7dfff00d0662b3d2d256e9c92f7a7f4a.zip qemu-e137d20e7dfff00d0662b3d2d256e9c92f7a7f4a.tar.gz qemu-e137d20e7dfff00d0662b3d2d256e9c92f7a7f4a.tar.bz2 |
hw/block/nvme: add check for mdts
Add 'mdts' device parameter to control the Maximum Data Transfer Size of
the controller and check that it is respected.
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.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 f20c59a..72cf2d1 100644 --- a/hw/block/trace-events +++ b/hw/block/trace-events @@ -85,6 +85,7 @@ pci_nvme_mmio_shutdown_set(void) "shutdown bit set" pci_nvme_mmio_shutdown_cleared(void) "shutdown bit cleared" # nvme traces for error conditions +pci_nvme_err_mdts(uint16_t cid, size_t len) "cid %"PRIu16" len %zu" pci_nvme_err_invalid_dma(void) "PRP/SGL is too small for transfer size" pci_nvme_err_invalid_prplist_ent(uint64_t prplist) "PRP list entry is null or not page aligned: 0x%"PRIx64"" pci_nvme_err_invalid_prp2_align(uint64_t prp2) "PRP2 is not page aligned: 0x%"PRIx64"" |