diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-03-03 11:50:29 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-03-14 13:28:29 +0100 |
commit | 3f53bc61a404cd1d13fdba8441282a33a755f8c6 (patch) | |
tree | eb99182fd28668a99973411d87f6b0727096400b /cpus.c | |
parent | d2528bdc19988db73056be75dd9bf52eeee620f5 (diff) |
cpus: define QEMUTimerListNotifyCB for QEMU system emulation
There is no change for now, because the callback just invokes
qemu_notify_event.
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'cpus.c')
-rw-r--r-- | cpus.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -800,6 +800,11 @@ static void qemu_cpu_kick_rr_cpu(void) } while (cpu != atomic_mb_read(&tcg_current_rr_cpu)); } +void qemu_timer_notify_cb(void *opaque, QEMUClockType type) +{ + qemu_notify_event(); +} + static void kick_tcg_thread(void *opaque) { timer_mod(tcg_kick_vcpu_timer, qemu_tcg_next_kick()); |