]> git.proxmox.com Git - qemu.git/commit - trace-events
uhci: fix bandwidth management
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 11 May 2012 07:18:05 +0000 (09:18 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 7 Jun 2012 08:02:20 +0000 (10:02 +0200)
commit4aed20e2d70f4353164399a173f20c3ab435b4eb
tree256092ca17acf13f36bfd4ef743a84844c9864b0
parent349417004a0f7cf5518a998dca755cd06f6c212b
uhci: fix bandwidth management

uhci_process_frame() can be invoked multiple times per frame, so
accounting usb bandwith in a local variable doesn't fly, use a variable
in UHCIState instead.  Also check the limit more frequently.

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