public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: "Dong, Eddie" <eddie.dong-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: soft lockup after stop/cont
Date: Wed, 10 Oct 2007 12:06:33 +0200	[thread overview]
Message-ID: <470CA429.2080607@qumranet.com> (raw)
In-Reply-To: <10EA09EFD8728347A513008B6B0DA77A0236442D-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>

Dong, Eddie wrote:
>> Or is the timer saved in absolute time?  if so you are right, and yes,
>> your solution is needed.
>>
>>     
> Looks like current live migration, also save/restore, doesn't migrate 
> guest time. (do I miss something?) So the new guest will 
> see a totally different TSC and OS feel stranger or 
> many lost ticks etc.
>
> Should we add this one?
> thx,eddie
>   

cpu_save (qemu/hw/pc.c) has this:

#ifdef USE_KVM
    if (kvm_allowed) {
        for (i = 0; i < NR_IRQ_WORDS ; i++) {
            qemu_put_be32s(f, &env->kvm_interrupt_bitmap[i]);
        }
        qemu_put_be64s(f, &env->tsc);
    }
#endif

And I think the apic code saves the timer?

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

  parent reply	other threads:[~2007-10-10 10:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-10  8:01 soft lockup after stop/cont Jim Paris
     [not found] ` <20071010080152.GA27601-lSbMZ+N7itA@public.gmane.org>
2007-10-10  8:04   ` Avi Kivity
     [not found]     ` <470C87AB.6050900-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10  8:50       ` Dong, Eddie
     [not found]         ` <10EA09EFD8728347A513008B6B0DA77A023643BD-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-10  9:09           ` Avi Kivity
     [not found]             ` <470C96B2.3080905-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10  9:11               ` Dong, Eddie
     [not found]                 ` <10EA09EFD8728347A513008B6B0DA77A02364404-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-10  9:18                   ` Avi Kivity
     [not found]                     ` <470C98EB.1080602-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10  9:57                       ` Dong, Eddie
     [not found]                         ` <10EA09EFD8728347A513008B6B0DA77A0236442D-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-10 10:06                           ` Avi Kivity [this message]
     [not found]                             ` <470CA429.2080607-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-11  1:17                               ` Dong, Eddie
2007-10-10 18:54       ` Jim Paris
     [not found]         ` <20071010185443.GA14525-lSbMZ+N7itA@public.gmane.org>
2007-10-11  9:03           ` Carsten Otte
     [not found]             ` <470DE6F8.9090801-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-10-11  9:29               ` Dong, Eddie
     [not found]                 ` <10EA09EFD8728347A513008B6B0DA77A02364AD6-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-11 10:57                   ` Carsten Otte
     [not found]                     ` <470E01A2.104-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-10-11 16:18                       ` Jan Glauber1

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=470CA429.2080607@qumranet.com \
    --to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=eddie.dong-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox