qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH v7 10/21] cpus: make icount warp determinist


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC PATCH v7 10/21] cpus: make icount warp deterministic in replay mode
Date: Mon, 12 Jan 2015 13:01:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0


On 12/01/2015 13:00, Pavel Dovgalyuk wrote:
> This patch fixes icount warp rt timer. It should be based on virtual_rt
> clock to be deterministic.
> 
> Signed-off-by: Pavel Dovgalyuk <address@hidden>
> ---
>  cpus.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/cpus.c b/cpus.c
> index 0c368f2..8787277 100644
> --- a/cpus.c
> +++ b/cpus.c
> @@ -325,7 +325,7 @@ static void icount_adjust(void)
>  static void icount_adjust_rt(void *opaque)
>  {
>      timer_mod(icount_rt_timer,
> -                   qemu_clock_get_ms(QEMU_CLOCK_REALTIME) + 1000);
> +              qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL_RT) + 1000);
>      icount_adjust();
>  }
>  
> 

Oops, this is indeed a rebase conflict in the VIRTUAL_RT patches.  I'll
include this now.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]