aboutsummaryrefslogtreecommitdiff
path: root/stubs/cpu-get-icount.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2018-10-08 13:24:14 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2018-10-19 13:44:15 +0200
commit74c0b816adfc6aa1b01b4426fdf385e32e35cbac (patch)
treef42fa64eccc77891ae93684717220badd50f8794 /stubs/cpu-get-icount.c
parent0c2ed83fa45aa5d80ecc7d3fff0ab38db2db5972 (diff)
downloadqemu-74c0b816adfc6aa1b01b4426fdf385e32e35cbac.zip
qemu-74c0b816adfc6aa1b01b4426fdf385e32e35cbac.tar.gz
qemu-74c0b816adfc6aa1b01b4426fdf385e32e35cbac.tar.bz2
replay: pass raw icount value to replay_save_clock
This avoids lock recursion when REPLAY_CLOCK is called inside the timers spinlock. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'stubs/cpu-get-icount.c')
-rw-r--r--stubs/cpu-get-icount.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/stubs/cpu-get-icount.c b/stubs/cpu-get-icount.c
index 0b7239d..35f0c1e 100644
--- a/stubs/cpu-get-icount.c
+++ b/stubs/cpu-get-icount.c
@@ -11,6 +11,11 @@ int64_t cpu_get_icount(void)
abort();
}
+int64_t cpu_get_icount_raw(void)
+{
+ abort();
+}
+
void qemu_timer_notify_cb(void *opaque, QEMUClockType type)
{
qemu_notify_event();