Skip to content

hw/block/nvme: handle transient dma errors

Klaus Jensen qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pci: pass along the return value of dma_memory_rwinclude/hw/pci/pci.h+1 -23 replies
2/2hw/block/nvme: handle dma errorshw/block/nvme.c hw/block/trace-events include/block/nvme.h+35 -120 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéMichael S. TsirkinKeith BuschMaxim Levitsky
1/2R-b R-b A-b
2/2A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] hw/block/nvme: handle transient dma errors

From: Klaus Jensen <[email protected]>

QEMU actually respects that Bus Master Enabling for a PCI device gets flipped, so in order to succesfully pass the block/011 test ("disable PCI device while doing I/O") the nvme device needs to know if a dma transfer was successful or not.

Based-on: <[email protected]> ("[PATCH 00/17] hw/block/nvme: AIO and address mapping refactoring")

Klaus Jensen (2):
pci: pass along the return value of dma_memory_rw hw/block/nvme: handle dma errors

 hw/block/nvme.c       | 43 ++++++++++++++++++++++++++++++++-----------
 hw/block/trace-events |  2 ++
 include/block/nvme.h  |  2 +-
 include/hw/pci/pci.h  |  3 +--
 4 files changed, 36 insertions(+), 14 deletions(-)
Signature · 1 line
2.27.0