summaryrefslogtreecommitdiffstats
path: root/hw/bt-hid.c
diff options
context:
space:
mode:
authorGleb Natapov2009-12-08 14:50:54 +0100
committerAnthony Liguori2009-12-12 14:59:38 +0100
commitba32edab7fdab0e74b54696942b4127d26861cf6 (patch)
treeb3f4e006817997a866dbcba1def18fd1fdbdfb1b /hw/bt-hid.c
parentvirtio: verify features on load (diff)
downloadqemu-ba32edab7fdab0e74b54696942b4127d26861cf6.tar.gz
qemu-ba32edab7fdab0e74b54696942b4127d26861cf6.tar.xz
qemu-ba32edab7fdab0e74b54696942b4127d26861cf6.zip
fix rtc-td-hack on host without high-res timers
On hosts without high-res timers it is impossible to inject rtc interrupt faster then 1kHz. Windows sometimes configures RTC to generate 1kHz interrupts, so we can't inject missed interrupts when running on such hosts. Always injecting an interrupt on REG_C read is also not an option since Windows wait for REG_C to become zero with interrupt disabled during boot. This patch uses mixed approach: accelerate timer + inject up to 1000 interrupts on REG_C read. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/bt-hid.c')
0 files changed, 0 insertions, 0 deletions