/* A typical O/EHCI will stop operating, set itself into error state (which can be queried by MMIO) and will set PERR in its config space to signal that it got an error  */
static void ohci_die(OHCIState *ohci)
/* A typical O/EHCI will stop operating, set itself into error state (which can be queried by MMIO) and will set PERR in its config space to signal that it got an error  */
static void ohci_die(OHCIState *ohci)
{
    OHCIPCIState *dev = container_of(ohci, OHCIPCIState, state);
    fprintf(stderr, "%s: DMA error\n", __func__);
    ohci_set_interrupt(ohci, OHCI_INTR_UE);
    ohci_bus_stop(ohci);
    pci_set_word(dev->parent_obj.config + PCI_STATUS,
                 PCI_STATUS_DETECTED_PARITY);
}