[PULL 00/11] Various fixes for the USB code

Thomas Huth posted 11 patches 8 hours ago
hw/usb/dev-mtp.c                |  24 ++-
hw/usb/hcd-ohci.c               |  67 +++---
hw/usb/hcd-xhci.c               |  27 +++
hw/usb/host-libusb.c            |  47 ++++-
tests/qtest/usb-hcd-ohci-test.c | 439 ++++++++++++++++++++++++++++++++++++++++
tests/qtest/usb-hcd-xhci-test.c |  46 +++++
hw/usb/trace-events             |   2 +
7 files changed, 613 insertions(+), 39 deletions(-)
[PULL 00/11] Various fixes for the USB code
Posted by Thomas Huth 8 hours ago
 Hi Richard!

The following changes since commit 8967b2fe1b2aaae3c29e207d85fab901d580a2dc:

  Merge tag 'pull-9p-20261019' of https://github.com/cschoenebeck/qemu into staging (2026-10-20 07:04:06 +0200)

are available in the Git repository at:

  https://gitlab.com/thuth/qemu.git tags/pull-request-2026-10-22

for you to fetch changes up to cfa70f3a82f581ad758586ecf408fe7f3602850f:

  hw/usb/hcd-xhci: More reentrancy guard fixes for the XHCI code (2026-10-22 12:33:17 +0200)

----------------------------------------------------------------
Various fixes for the USB code

----------------------------------------------------------------
Haotian Jiang (2):
      usb-host: free request on libusb submit failure
      usb-host: delete bottom halves during unrealize

Junjie Cao (4):
      tests/qtest: Cover OHCI endpoint type mismatches
      usb-host: validate interface number before indexing altsetting
      usb-host: free configuration descriptors on error paths
      tests/qtest/usb-hcd-xhci: test interrupt pacing above 2^32

Peter Maydell (1):
      hw/usb/hcd-ohci: Fail iso packets sent to non-iso endpoints and vice-versa

Thomas Huth (1):
      hw/usb/hcd-xhci: More reentrancy guard fixes for the XHCI code

Tommaso Califano (3):
      hw/usb/dev-mtp: Fix assert crash on undersized BULK IN
      hw/usb/dev-mtp: Fix assert crash on short CMD_SEND_OBJECT
      hw/usb/dev-mtp: Fix heap OOB read in usb_mtp_write_metadata()

 hw/usb/dev-mtp.c                |  24 ++-
 hw/usb/hcd-ohci.c               |  67 +++---
 hw/usb/hcd-xhci.c               |  27 +++
 hw/usb/host-libusb.c            |  47 ++++-
 tests/qtest/usb-hcd-ohci-test.c | 439 ++++++++++++++++++++++++++++++++++++++++
 tests/qtest/usb-hcd-xhci-test.c |  46 +++++
 hw/usb/trace-events             |   2 +
 7 files changed, 613 insertions(+), 39 deletions(-)
Re: [PULL 00/11] Various fixes for the USB code
Posted by Richard Henderson 6 hours ago
On 10/22/26 12:36, Thomas Huth wrote:
>   Hi Richard!
> 
> The following changes since commit 8967b2fe1b2aaae3c29e207d85fab901d580a2dc:
> 
>    Merge tag 'pull-9p-20261019' ofhttps://github.com/cschoenebeck/qemu into staging (2026-10-20 07:04:06 +0200)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/thuth/qemu.git tags/pull-request-2026-10-22
> 
> for you to fetch changes up to cfa70f3a82f581ad758586ecf408fe7f3602850f:
> 
>    hw/usb/hcd-xhci: More reentrancy guard fixes for the XHCI code (2026-10-22 12:33:17 +0200)
> 
> ----------------------------------------------------------------
> Various fixes for the USB code

Applied, thanks.

r~