qemu/hw/usb
Hans de Goede 427e3aa151 usb-tablet: Allow connecting to ehci
Our ehci code has is capable of significantly lowering the wakeup rate
for the hcd emulation while the device is idle. It is possible to add
similar code ot the uhci emulation, but that simply is not there atm,
and there is no reason why a (virtual) usb-tablet can not be a USB-2 device.

Making usb-hid devices connect to the emulated ehci controller instead
of the emulated uhci controller on vms which have both lowers the cpuload
for a fully idle vm from 20% to 2-3% (on my laptop).

An alternative implementation to using a property to select the tablet
type, would be simply making it a new device type, ie usb-tablet2, but the
downside of that is that this will require libvirt changes to be available
through libvirt at all, and then management tools changes to become the
default for new vms, where as using a property will automatically get
any pc-1.3 type vms the lower cpuload.

[ kraxel: adapt compat property for post-1.3 merge ]

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

tablet compat fixup

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2012-12-04 14:42:05 +01:00
..
bus.c usb: Allow overriding of usb_desc at the device level 2012-12-04 14:41:54 +01:00
combined-packet.c
core.c usb: Don't allow USB_RET_ASYNC for interrupt packets 2012-12-04 14:41:54 +01:00
desc.c
desc.h
dev-audio.c
dev-bluetooth.c
dev-hid.c usb-tablet: Allow connecting to ehci 2012-12-04 14:42:05 +01:00
dev-hub.c usb: Call wakeup when data becomes available for all devices with int eps 2012-12-04 14:41:54 +01:00
dev-network.c usb: Call wakeup when data becomes available for all devices with int eps 2012-12-04 14:41:54 +01:00
dev-serial.c
dev-smartcard-reader.c
dev-storage.c
dev-uas.c
dev-wacom.c usb: Call wakeup when data becomes available for all devices with int eps 2012-12-04 14:41:54 +01:00
hcd-ehci-pci.c usb: tag usb host adapters as not hotpluggable. 2012-11-29 08:04:13 +01:00
hcd-ehci-sysbus.c ehci-sysbus: Attach DMA context. 2012-11-29 08:04:13 +01:00
hcd-ehci.c ehci: Lower timer freq when the periodic schedule is idle 2012-12-04 14:41:54 +01:00
hcd-ehci.h ehci: Lower timer freq when the periodic schedule is idle 2012-12-04 14:41:54 +01:00
hcd-musb.c
hcd-ohci.c usb: tag usb host adapters as not hotpluggable. 2012-11-29 08:04:13 +01:00
hcd-uhci.c usb: tag usb host adapters as not hotpluggable. 2012-11-29 08:04:13 +01:00
hcd-xhci.c usb: tag usb host adapters as not hotpluggable. 2012-11-29 08:04:13 +01:00
host-bsd.c usb: Don't allow USB_RET_ASYNC for interrupt packets 2012-12-04 14:41:54 +01:00
host-linux.c usb: Don't allow USB_RET_ASYNC for interrupt packets 2012-12-04 14:41:54 +01:00
host-stub.c
libhw.c
Makefile.objs
redirect.c usb: Call wakeup when data becomes available for all devices with int eps 2012-12-04 14:41:54 +01:00