sandia-minimega / minimega

minimega
GNU General Public License v3.0
148 stars 67 forks source link

Adding config option for switching from xHCI to EHCI for USB controller #1501

Closed causand22 closed 1 year ago

causand22 commented 1 year ago

Copy of #1500 From Jacob --

This PR adds a configuration option to switch between xHCI and EHCI for the USB controller. Only one will be enabled per VM and by default xHCI is used.

To disable xHCI and use EHCI instead (as before), add vm config usb-use-xhci false to the VM's config.

This should fix two issues:

Issues observed for Windows VMs in phenix when both EHCI and xHCI are present
Backwards compatibility for certain use cases that cannot add support for xHCI (e.g., pre-2010 VMs)