ehci: fix Interrupt Threshold Control implementation
commit6d3b6d3d2deaf682def95e3e512ad0e17f02274f
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Aug 2012 11:55:40 +0000 (15 13:55 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 16 Aug 2012 06:39:50 +0000 (16 08:39 +0200)
treebf2fa9881b962d926c12f750b83eacacc678da60
parent0daf53047da0b817e40c4931580e59e73b420f41
ehci: fix Interrupt Threshold Control implementation

First, not all interrupts are subject to Interrupt Threshold Control,
some of them must be delivered without delay.

Second, Interrupt Threshold Control state must be part of vmstate,
otherwise we might loose IRQs on migration.

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