|
@@ -1316,6 +1316,10 @@ static int64_t tcg_get_icount_limit(void)
|
|
|
*/
|
|
|
deadline = qemu_clock_deadline_ns_all(QEMU_CLOCK_VIRTUAL,
|
|
|
QEMU_TIMER_ATTR_ALL);
|
|
|
+ /* Check realtime timers, because they help with input processing */
|
|
|
+ deadline = qemu_soonest_timeout(deadline,
|
|
|
+ qemu_clock_deadline_ns_all(QEMU_CLOCK_REALTIME,
|
|
|
+ QEMU_TIMER_ATTR_ALL));
|
|
|
|
|
|
/* Maintain prior (possibly buggy) behaviour where if no deadline
|
|
|
* was set (as there is no QEMU_CLOCK_VIRTUAL timer) or it is more than
|