[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] x86/hvm: fix corrupt ACPI PM-Timer during live migration


  • To: <xen-devel@xxxxxxxxxxxxx>
  • From: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
  • Date: Tue, 5 Feb 2013 15:12:45 +0900
  • Delivery-date: Tue, 05 Feb 2013 06:13:29 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

The value of ACPI PM-Timer may be broken on save unless the timer mode
is delay_for_missed_ticks.
With other timer modes, vcpu->arch.hvm_vcpu.guest_time is always zero
and the adjustment from its value is wrong.

This patch fixes the saved value of ACPI PM-Timer:
- don't adjust the PM-Timer if vcpu->arch.hvm_vcpu.guest_time is zero.
- consolidate calculations of PM-Timer to one function. more precise on save.

Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>

Attachment: fix_corrupt_saved_pmtimer.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.