xhci: rework interrupt handling
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 30 Aug 2012 11:05:10 +0000 (13:05 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Sep 2012 05:43:01 +0000 (07:43 +0200)
commit4c4abe7cc903e057d343cd445eca2e5227783579
tree460fa41ac6317a8ae88c13255c6ba84d3d8c0a02
parentc5e9b02dee4a19f7b047fb75399012e1db759190
xhci: rework interrupt handling

Split xhci_irq_update into a function which handles intx updates
(including lowering the irq line once the guests acks the interrupt)
and one which is used for raising an irq only.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-xhci.c