Skip to content

Conversation

@yangliang-intel
Copy link
Contributor

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.

Merge Checklist

All boxes should be checked before merging the PR

  • The changes in the PR have been built and tested
  • [] cgmanifest file has been updated if required
  • [] Ready to merge

Description

Prevent qemu from asserting in qemu host-libusb when there is invalid altsetting index during fast USB device hotplug/unplug.

Any Newly Introduced Dependencies

How Has This Been Tested?

  • Built and tested local build of DV raw image
  • Flash and bootup ok
  • Launch guest vm with new version of qemu ok
  • Tested USB device (eg. USB keyboard, USB mouse, USB Audio headset) passthrough ok
  • Further testing with USB device passthrough and hotplug (unplug/replug) for UCC use cases on-going

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: yangliang-intel <liang1.yang@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant