[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] icount: warp in the main_loop.
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC] icount: warp in the main_loop. |
Date: |
Fri, 4 Jul 2014 06:36:51 -0400 (EDT) |
> Right, but when I put a timer eg on QEMU_VIRTUAL_CLOCK the guest is stuck.
> icount_warp_rt is not called neither qemu_clock_warp(..)..
It should be. timer_mod_ns -> timerlist_rearm -> qemu_clock_warp.
> So yes as you said seems a qemu_clock_warp is missing somewhere.
>
> Shouldn't icount_warp_rt called regularly to advance the time when the
> VCPU is not executing?
No, everything is done dynamically based on timer deadlines. Polling is bad. :)
Paolo