Re: [Qemu-devel] [PATCH 4/8] timers: reorganize icount_warp_rt

2013-10-08 Thread Alex Bligh
On 8 Oct 2013, at 09:47, Paolo Bonzini wrote: > To prepare for future code changes, move the increment of qemu_icount_bias > outside the "if" statement. > > Also, hoist outside the if the check for timers that expired due to the > "warping". The check is redundant when !runstate_is_running(), b

[Qemu-devel] [PATCH 4/8] timers: reorganize icount_warp_rt

2013-10-08 Thread Paolo Bonzini
To prepare for future code changes, move the increment of qemu_icount_bias outside the "if" statement. Also, hoist outside the if the check for timers that expired due to the "warping". The check is redundant when !runstate_is_running(), but doing it this way helps because the code that increment