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 11:18:35 +0200	[thread overview]
Message-ID: <470C98EB.1080602@qumranet.com> (raw)
In-Reply-To: <10EA09EFD8728347A513008B6B0DA77A02364404-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>

Dong, Eddie wrote:
> Avi Kivity wrote:
>   
>> Dong, Eddie wrote:
>>     
>>> kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote:
>>>
>>>       
>>>> It may be that the timer correction code detects that zillions of
>>>> timer interrupts have not been serviced by the guest so it floods
>>>> the guest with these interrupts.  Does -no-kvm-irqchip help?
>>>>
>>>>
>>>>         
>>> In Xen, we decide to froze the guest time after save/restore. In this
>>> way the guest see contiguous timer and thus avoid this issue.
>>>
>>> Probably we should do similar here, comments?
>>>
>>>       
>> This is pause/resume, not save/restore.  I think save/restore now has
>> contiguous lapic timer and discontiguous real time.
>>
>>     
>
> If save/restore means live migration here, yes you are right.
>   

No, I didn't mean that.

> save to file and later resume from file will have this issue.
>   

Why? after saving to a file, the local apic in the kernel is destroyed
when qemu quits.

Or is the timer saved in absolute time?  if so you are right, and yes,
your solution is needed.


-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
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  9:18 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 [this message]
     [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
     [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=470C98EB.1080602@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