Skip to content

hw/usb/hcd-ehci: fix the abort after a failed descriptor read

Junjie Cao qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hw/usb/hcd-ehci: idle the schedule after a failed descriptor readhw/usb/hcd-ehci.c+14 -01 reply
2/2tests/qtest/usb-hcd-ehci: test descriptor reads that failtests/qtest/usb-hcd-ehci-test.c+119 -01 reply

Reviews trailers per patch

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

PatchTommaso Califano
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] hw/usb/hcd-ehci: fix the abort after a failed descriptor read

2b2a0e4f465a ("hw/usb/hcd-ehci: Check for DMA errors in get_dwords()/put_dwords()") lets a guest abort QEMU by pointing a schedule descriptor at memory that is not there. It is not in a release yet; 11.2 would be the first.

Patch 2 adds the qtest: it aborts QEMU on current master and passes with patch 1.

Junjie Cao (2):
hw/usb/hcd-ehci: idle the schedule after a failed descriptor read tests/qtest/usb-hcd-ehci: test descriptor reads that fail

 hw/usb/hcd-ehci.c               |  14 ++++
 tests/qtest/usb-hcd-ehci-test.c | 119 ++++++++++++++++++++++++++++++++
 2 files changed, 133 insertions(+)
Signature · 1 line
2.43.0