Skip to content

Set USB-XHCI bus for USB storage when using aarch64 system architecture#3216

Merged
osy merged 1 commit intoutmapp:masterfrom
conath:3194-windows-arm-usb-reset
Oct 30, 2021
Merged

Set USB-XHCI bus for USB storage when using aarch64 system architecture#3216
osy merged 1 commit intoutmapp:masterfrom
conath:3194-windows-arm-usb-reset

Conversation

@conath
Copy link
Contributor

@conath conath commented Oct 27, 2021

Fixes Partially fixes #3194 (Windows 11 installer causes QEMU EHCI reset, aborting install)

The result of this PR is that for aarch64 guest, the USB CD drive is connected to the XHCI bus:
Screen Shot 2021-10-27 at 22 36 55

This has the nice side effect of increasing the speed of the USB drive.

Edit: added "partially" above to reflect my findings while testing. See my comment for details.

@osy
Copy link
Contributor

osy commented Oct 29, 2021

I think that bus isn’t created if self.configuration.inputLegacy is set. So maybe need to add that to the condition?

@conath
Copy link
Contributor Author

conath commented Oct 29, 2021

That could work. Why not always generate the XHCI bus regardless of the input setting?

@osy
Copy link
Contributor

osy commented Oct 29, 2021

Lots of machines don’t support it. And machines that do may not support it in the OS.

@conath
Copy link
Contributor Author

conath commented Oct 29, 2021

I'm thinking we could gate it behind the EFI boot flag or specific systems. Or maybe there should be a USB2/3 switch like in other apps.

The easiest is probably your suggestion 😃

Fixes utmapp#3194 (Windows 11 installer causes QEMU EHCI reset, aborting install)
@conath conath force-pushed the 3194-windows-arm-usb-reset branch from bf163ff to 4d1c2f4 Compare October 29, 2021 22:11
@conath
Copy link
Contributor Author

conath commented Oct 29, 2021

should be fine now

@osy osy added this to the v2.4 milestone Oct 30, 2021
@osy osy merged commit 5499b1c into utmapp:master Oct 30, 2021
@conath conath deleted the 3194-windows-arm-usb-reset branch October 30, 2021 09:32
@lonione
Copy link

lonione commented Jan 18, 2022

Faced the same issue with 2.4.1 and Windows 11 22533.1001_PROFESSIONAL_ARM64_EN-US.ISO
Quite frustrating, as it kept failing (quite early, maybe around 5%) even after changing the XHCI bus. However, now it has successfully completed with the same config - so I can confirm it works eventually but requires some patience and persistence :) Thanks for the information in this thread.

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.

Windows Installer triggers QEMU USB reset, aborting installation

3 participants