mirror of
https://github.com/qemu/qemu.git
synced 2024-12-14 06:53:43 +08:00
74c0b816ad
This avoids lock recursion when REPLAY_CLOCK is called inside the timers spinlock. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
23 lines
331 B
C
23 lines
331 B
C
#include "qemu/osdep.h"
|
|
#include "qemu-common.h"
|
|
#include "qemu/timer.h"
|
|
#include "sysemu/cpus.h"
|
|
#include "qemu/main-loop.h"
|
|
|
|
int use_icount;
|
|
|
|
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();
|
|
}
|