From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: soft lockup after stop/cont Date: Wed, 10 Oct 2007 12:06:33 +0200 Message-ID: <470CA429.2080607@qumranet.com> References: <20071010080152.GA27601@jim.sh> <470C87AB.6050900@qumranet.com> <10EA09EFD8728347A513008B6B0DA77A023643BD@pdsmsx411.ccr.corp.intel.com> <470C96B2.3080905@qumranet.com> <10EA09EFD8728347A513008B6B0DA77A02364404@pdsmsx411.ccr.corp.intel.com> <470C98EB.1080602@qumranet.com> <10EA09EFD8728347A513008B6B0DA77A0236442D@pdsmsx411.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: "Dong, Eddie" Return-path: In-Reply-To: <10EA09EFD8728347A513008B6B0DA77A0236442D-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.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/