aboutsummaryrefslogtreecommitdiff
path: root/hw/sparc
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2013-07-26 20:52:05 +1000
committerGerd Hoffmann <kraxel@redhat.com>2013-07-30 10:26:19 +0200
commitcf66ee8e207d5c1831c7d4d8c7f2544314fc676c (patch)
tree761ee8869c16f5c453067f8122a00bb0747941de /hw/sparc
parent9f0f1a0c096f29a856f2e6903beda45b44ce9cdd (diff)
hcd-ohci: add dma error handling
Current hcd-ohci does not handle DMA errors. However they may happen so here we introduce simple error handling. On such errors, a typical OHCI will stop operating, signal the guest about the error by sending "UnrecoverableError Event", set itself into error state and set "Detected Parity Error" in its PCI config space to signal that it got an error and so does the patch. This also adds ohci_die() call to ohci_bus_start() to handle possible failure of qemu_new_timer_ns(). Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/sparc')
0 files changed, 0 insertions, 0 deletions