On 4/22/22 04:53, Pavel Dovgalyuk wrote:
+void icount_notify_exit(void)
+{
+ if (icount_enabled() && first_cpu) {
+ cpu_exit(first_cpu);
+ qemu_clock_notify(QEMU_CLOCK_VIRTUAL);
+ }
+}
Why first_cpu? Did you really want to continue to the end of the round-robin? Otherwise I'd expect qemu_cpu_kick(current_cpu), or something. r~
