|
@@ -336,10 +336,8 @@ void icount_start_warp_timer(void)
|
|
deadline = qemu_clock_deadline_ns_all(QEMU_CLOCK_VIRTUAL,
|
|
deadline = qemu_clock_deadline_ns_all(QEMU_CLOCK_VIRTUAL,
|
|
~QEMU_TIMER_ATTR_EXTERNAL);
|
|
~QEMU_TIMER_ATTR_EXTERNAL);
|
|
if (deadline < 0) {
|
|
if (deadline < 0) {
|
|
- static bool notified;
|
|
|
|
- if (!icount_sleep && !notified) {
|
|
|
|
- warn_report("icount sleep disabled and no active timers");
|
|
|
|
- notified = true;
|
|
|
|
|
|
+ if (!icount_sleep) {
|
|
|
|
+ warn_report_once("icount sleep disabled and no active timers");
|
|
}
|
|
}
|
|
return;
|
|
return;
|
|
}
|
|
}
|