[Xen-devel] [PATCH] x86/hvm: fix saved pmtimer value

2015-09-09 Thread Kouya Shimura
The ACPI PM timer is sometimes broken on live migration. Since vcpu->arch.hvm_vcpu.guest_time is zero in most cases. Without this patch, the clock of windows server 2012R2 without HPET might leap forward several minutes on live migration. Signed-off-by: Kouya Shimura ---

Re: [Xen-devel] [PATCH] x86/hvm: fix saved pmtimer value

2015-09-09 Thread Jan Beulich
>>> 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. With that

Re: [Xen-devel] [PATCH] x86/hvm: fix saved pmtimer value

2015-09-09 Thread Kouya Shimura
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

Re: [Xen-devel] [PATCH] x86/hvm: fix saved pmtimer value

2015-09-09 Thread Jan Beulich
>>> On 09.09.15 at 10:31, wrote: > 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

Re: [Xen-devel] [PATCH] x86/hvm: fix saved pmtimer value

2015-09-09 Thread Wei Liu
On Wed, Sep 09, 2015 at 01:46:35AM -0600, Jan Beulich wrote: > >>> 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".