mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 23:42:32 +00:00
df1767b784
The issue came apparent with Windows Guests and USB passthrough of smart-card readers. If the VM is powered off, PDMR3Term cleans up all devices incl. (first) acpi and (later) devxhci. The latter used a dangling reference to ACPI structs in a indirect call to apicIsLogicalDest() from xhciR3Destruct(). VMMR3_INT_DECL(int) PDMR3Term(PVM pVM) virtualbox6/src/VBox/VMM/VMMR3/PDM.cpp:817 "apic" (pDevIns->pReg->szName) static void apicR3TermState(PVM pVM) virtualbox6/src/VBox/VMM/VMMR3/APIC.cpp:1235 "qemu-xhci" (pDevIns->pReg->szName) static DECLCALLBACK(int) xhciR3Destruct(PPDMDEVINS pDevIns) repos/ports/src/virtualbox6/devxhci.cc:431 void usb_detach(USBPort *port) <qemu-usb>/src/lib/qemu/hw/usb/core.c:70 static void xhci_port_notify(XHCIPort *port, uint32_t bits) <qemu-usb>/src/lib/qemu/hw/usb/hcd-xhci.c:2592 static DECLCALLBACK(void) pciSetIrq(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev, int iIrq, int iLevel, uint32_t uTagSrc) virtualbox6/src/VBox/Devices/Bus/DevPCI.cpp:398 static bool apicIsLogicalDest(PVMCPUCC pVCpu, uint32_t fDest) virtualbox6/src/VBox/VMM/VMMAll/APICAll.cpp:797 The fix removes our Qemu library reset from xhciR3Destruct() and registers xhciR3Reset() as PowerOff hook. Thanks to Raphael for the thorough investigation. |
||
---|---|---|
.. | ||
doc | ||
include/vmm | ||
lib | ||
mk | ||
ports | ||
recipes | ||
run | ||
src | ||
README |
This directory contains ports of popular 3rd-party applications to Genode. The 'ports' repository follows the line of the 'libports' repository. For instructions about downloading and building 3rd-party applications, please refer to 'libports/README'. Dependencies from other repositories ------------------------------------ Application provided by the 'ports' repository typically expect a rich runtime environment, including shared libraries provided by the 'libports' repository. Hence, 'ports' depends on 'libports'.