Il 23/07/2014 11:11, Sebastian Tanase ha scritto: > When using the icount option on ARM, the virtual > clock starts counting at realtime clock but it > should start at 0. > This small fix addresses this issue. > > Signed-off-by: Sebastian Tanase <sebastian.tan...@openwide.fr>
Thanks, this is ok for 2.2. Paolo > --- > cpus.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/cpus.c b/cpus.c > index 5e7f2cf..de18ece 100644 > --- a/cpus.c > +++ b/cpus.c > @@ -104,7 +104,7 @@ static bool all_cpu_threads_idle(void) > > /* Compensate for varying guest execution speed. */ > static int64_t qemu_icount_bias; > -static int64_t vm_clock_warp_start; > +static int64_t vm_clock_warp_start = -1; > /* Conversion factor from emulated instructions to virtual clock ticks. */ > static int icount_time_shift; > /* Arbitrarily pick 1MIPS as the minimum allowable speed. */ >