]> git.proxmox.com Git - qemu.git/commit
ehci: add freq + maxframes properties
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 30 May 2011 14:24:29 +0000 (16:24 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 23 Jun 2011 09:28:06 +0000 (11:28 +0200)
commit16a2dee6b98ec0d4f60fa17f78ca989ce5c7f831
tree53b701a4b2e6eac16dfac44ed17cb1265f04fea4
parent82887262569d9222befadb6a98bf364beae30a7e
ehci: add freq + maxframes properties

Add properties for the wakeup rate and the max number of frames ehci
will process at once.

The wakeup rate defaults to 1000 which equals the usb frame rate.  This
can be reduced to make qemu wake up less often when ehci is active.

In case the wakeup rate is reduced or the ehci timer is delayed due to
latency issues elsewhere in qemu ehci will process multiple frames at
once.  The maxframes property specifies the upper limit for this.

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