Hans de Goede 027c03f732 hid: Change idle handling to use a timer
This leads to cleaner code in usb-hid, and removes up to a 1000 calls / sec to
qemu_get_clock_ns(vm_clock) if idle-time is set to its default value of 0.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2013-01-07 12:57:24 +01:00
..
2012-12-19 08:31:30 +01:00
2012-12-17 13:02:26 +02:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:29 +01:00
2012-12-19 08:31:31 +01:00
2013-01-04 08:51:57 +01:00
2013-01-04 08:51:57 +01:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:29 +01:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:30 +01:00
2013-01-07 12:57:24 +01:00
2013-01-07 12:57:24 +01:00
2012-12-19 08:32:39 +01:00
2012-12-17 13:02:26 +02:00
2012-12-19 08:31:31 +01:00
2012-12-17 13:02:26 +02:00
2012-12-19 08:31:29 +01:00
2012-12-19 08:31:29 +01:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2012-12-14 13:12:56 +01:00
2013-01-04 08:51:56 +01:00
2013-01-04 08:51:56 +01:00
2013-01-04 08:51:56 +01:00
2012-12-19 08:31:31 +01:00
2012-12-17 13:02:26 +02:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:31 +01:00
2013-01-02 08:01:36 -06:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:32:39 +01:00
2012-12-19 08:31:29 +01:00
2012-12-19 08:31:29 +01:00
2012-12-19 08:31:29 +01:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:29 +01:00
2012-12-19 08:31:29 +01:00
2012-12-20 09:20:01 +02:00
2012-12-20 09:20:01 +02:00
2012-12-19 08:31:29 +01:00
2012-12-17 13:02:26 +02:00
2012-12-19 08:31:29 +01:00
2012-12-19 08:31:31 +01:00