Skip to content

hw/usb/host-libusb: Do not assert when detects invalid alt#2

Merged
downor merged 1 commit into
intel:9.1.0-gfx-sriov-emtfrom
yangliang-intel:9.1.0-gfx-sriov-emt
Nov 4, 2025
Merged

hw/usb/host-libusb: Do not assert when detects invalid alt#2
downor merged 1 commit into
intel:9.1.0-gfx-sriov-emtfrom
yangliang-intel:9.1.0-gfx-sriov-emt

Conversation

@yangliang-intel

Copy link
Copy Markdown

Log warning and skip the interface instead of asserting in qemu host-libusb
when there is invalid altsetting index during fast USB device hotplug/unplug.
This is to prevent guest vm from crashing which is caused by QEMU task abort.

Log warning and skip the interface instead of asserting in qemu
host-libusb when there is invalid altsetting index during fast
USB device hotplug/unplug.
This is to prevent guest vm from crashing which is caused by
QEMU task abort.

Signed-off-by: Liang1 Yang <liang1.yang@intel.com>
@github-actions

github-actions Bot commented Nov 4, 2025

Copy link
Copy Markdown

Thank you for your interest in the QEMU project.

This repository is a read-only mirror of the project's repostories hosted
on https://gitlab.com/qemu-project/qemu.git.
The project does not process merge requests filed on GitHub.

QEMU welcomes contributions of code (either fixing bugs or adding new
functionality). However, we get a lot of patches, and so we have some
guidelines about contributing on the project website:
https://www.qemu.org/contribute/

@github-actions github-actions Bot closed this Nov 4, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 4, 2025
@downor downor reopened this Nov 4, 2025
@downor
downor merged commit 3fbf5c5 into intel:9.1.0-gfx-sriov-emt Nov 4, 2025
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants