summary refs log tree commit diff stats
path: root/hw/scsi-disk.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-05-11 09:18:05 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-06-07 10:02:20 +0200
commit4aed20e2d70f4353164399a173f20c3ab435b4eb (patch)
tree256092ca17acf13f36bfd4ef743a84844c9864b0 /hw/scsi-disk.c
parent349417004a0f7cf5518a998dca755cd06f6c212b (diff)
downloadfocaccia-qemu-4aed20e2d70f4353164399a173f20c3ab435b4eb.tar.gz
focaccia-qemu-4aed20e2d70f4353164399a173f20c3ab435b4eb.zip
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>
Diffstat (limited to 'hw/scsi-disk.c')
0 files changed, 0 insertions, 0 deletions