Re: [Qemu-devel] [PATCH 1/5] qemu-timer: fix off-by-one

2017-03-10 Thread Alex Bennée
Paolo Bonzini writes: > If the first timer is exactly at the current value of the clock, the > deadline is met and the timer should fire. This fixes itself without icount, > but with icount execution of instructions will stop exactly at the deadline. > > Signed-off-by: Paolo Bonzini Reviewed-

Re: [Qemu-devel] [PATCH 1/5] qemu-timer: fix off-by-one

2017-03-03 Thread Edgar E. Iglesias
On Fri, Mar 03, 2017 at 02:11:09PM +0100, Paolo Bonzini wrote: > If the first timer is exactly at the current value of the clock, the > deadline is met and the timer should fire. This fixes itself without icount, > but with icount execution of instructions will stop exactly at the deadline. > > S

[Qemu-devel] [PATCH 1/5] qemu-timer: fix off-by-one

2017-03-03 Thread Paolo Bonzini
If the first timer is exactly at the current value of the clock, the deadline is met and the timer should fire. This fixes itself without icount, but with icount execution of instructions will stop exactly at the deadline. Signed-off-by: Paolo Bonzini --- util/qemu-timer.c | 2 +- 1 file change