hw/usb/hcd-ehci: fix the abort after a failed descriptor read
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | hw/usb/hcd-ehci: idle the schedule after a failed descriptor readhw/ | +14 | 1 reply | |
| 2/2 | tests/qtest/usb-hcd-ehci: test descriptor reads that failtests/ | +119 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Tommaso Califano |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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