From: Kouya Shimura Subject: Re: [PATCH] x86/hvm: fix saved pmtimer value Date: Wed, 9 Sep 2015 17:31:15 +0900 Message-ID: <87bndckn8s.fsf@pingu.sky.yk.fujitsu.co.jp> References: <87egi8kpzy.fsf@pingu.sky.yk.fujitsu.co.jp> <55EFFFFB02000078000A11E0@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <55EFFFFB02000078000A11E0@prv-mh.provo.novell.com> (Jan Beulich's message of "Wed, 9 Sep 2015 01:46:35 -0600") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Jan Beulich writes: >>>> On 09.09.15 at 09:31, wrote: >> The ACPI PM timer is sometimes broken on live migration. >> Since vcpu->arch.hvm_vcpu.guest_time is zero in most cases. > > I.e. in other than "delay for missed ticks mode". Would have been > nice if you had spelled this out explicitly. Actually, I tried "delay for missed ticks mode" (timer_mode=0). Even in this case, the pmtimer was broken. I don't know why. > With that the question then is - > should the field perhaps be used when non-zero, and the > function only be called otherwise? The adjustment of timer value in pmtimer_save() was introduced before other timer_modes were implemented. I'm not sure (skeptical) the small adjustment is really necessary in pmtimer_save. Thanks, Kouya > > Wei - regardless of the answer to the above (i.e. regardless of > whether a v2 is going to be needed) I think we want this in 4.6. > > Jan