Re: [Qemu-devel] [PATCH 1.7] timers: fix stop/cont with -icount

2013-11-06 Thread Paolo Bonzini
Il 28/10/2013 17:32, Paolo Bonzini ha scritto: > Stop/cont commands are broken with -icount due to a deadlock. The > real problem is that the computation of timers_state.cpu_ticks_offset > makes no sense with -icount enabled: we set it to an icount clock value > in cpu_disable_ticks, and subtract

[Qemu-devel] [PATCH 1.7] timers: fix stop/cont with -icount

2013-10-28 Thread Paolo Bonzini
Stop/cont commands are broken with -icount due to a deadlock. The real problem is that the computation of timers_state.cpu_ticks_offset makes no sense with -icount enabled: we set it to an icount clock value in cpu_disable_ticks, and subtract a TSC (or similar, whatever cpu_get_real_ticks happens