mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-04-04 11:24:03 +00:00
There has one bug that the pci_xhci_dev_emu objects recorded in xdev->devices haven't destroy when OVMF transfer to guest OS. This will cause the the fds of usbfs can't be freed in libusb. The OVMF xHCI driver needs to disable all enabled slots during graceful existing flow, but it doesn't. The USBCMD.HCRST bit is used for xHC reset that will be triggered in xHCI driver initialization. We can use this chance to clear all pci_xhci_dev_emu objects Tracked-On: #4897 Signed-off-by: Long Liu <long.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
ACRN Device Model ################# Introduction ============ The ACRN Device Model provides **device sharing** capabilities between the Service OS and Guest OSs. It is a component that is used in conjunction with the `ACRN Hypervisor`_ and this is installed within the Service OS. You can find out more about Project ACRN on the `Project ACRN documentation`_ website. .. _`ACRN Hypervisor`: https://github.com/projectacrn/acrn-hypervisor .. _`Project ACRN documentation`: https://projectacrn.github.io/