All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Sebastian Tanase <sebastian.tanase@openwide.fr>, qemu-devel@nongnu.org
Cc: stefanha@redhat.com, afaerber@suse.de, alex@alex.org.uk, mst@redhat.com
Subject: Re: [Qemu-devel] [PATCH] icount: Fix virtual clock start value on ARM
Date: Wed, 23 Jul 2014 11:16:57 +0200	[thread overview]
Message-ID: <53CF7D89.7000001@redhat.com> (raw)
In-Reply-To: <1406106691-21912-1-git-send-email-sebastian.tanase@openwide.fr>

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.tanase@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.  */
> 

  reply	other threads:[~2014-07-23  9:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-23  9:11 [Qemu-devel] [PATCH] icount: Fix virtual clock start value on ARM Sebastian Tanase
2014-07-23  9:16 ` Paolo Bonzini [this message]
2014-07-23  9:20   ` Andreas Färber
2014-07-23  9:41 ` Peter Maydell
2014-07-23  9:45   ` Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53CF7D89.7000001@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=afaerber@suse.de \
    --cc=alex@alex.org.uk \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=sebastian.tanase@openwide.fr \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.