Displaying 4 results from an estimated 4 matches for "pl_time".
Did you mean:
ll_time
2013 Feb 05
21
[PATCH] x86/hvm: fix corrupt ACPI PM-Timer during live migration
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
2008 Dec 29
1
Guest time and TSCs since changeset 17716
Changeset 17716 provides monotonically increasing guest time for HVM
domains, by using the per-domain pl_time structure. hvm_get_guest_time
and hvm_set_guest_time were changed to use this. Previously, the guest
time was stored directly in the TSC offset fields of the vmx/smv control
structures.
Since pt_freeze_time and pt_thaw_time use hvm_get/set_guest_time, they
now no longer freeze TSC time for a g...
2012 Mar 05
6
[PATCH 3/5] RTC: Add UIP(update in progress) check logic
...a/xen/arch/x86/hvm/rtc.c Mon Mar 05 14:39:07 2012 +0800
+++ b/xen/arch/x86/hvm/rtc.c Mon Mar 05 14:39:41 2012 +0800
@@ -28,6 +28,8 @@
#include <asm/hvm/support.h>
#include <asm/current.h>
+#define USEC_PER_SEC 1000000UL
+
#define domain_vrtc(x) (&(x)->arch.hvm_domain.pl_time.vrtc)
#define vcpu_vrtc(x) (domain_vrtc((x)->domain))
#define vrtc_domain(x) (container_of((x), struct domain, \
@@ -239,6 +241,22 @@ static void rtc_copy_date(RTCState *s)
s->hw.cmos_data[RTC_YEAR] = to_bcd(s, tm->tm_year % 100);
}
+static int update_in_progress(RTCState *s)
+{...
2012 Sep 14
0
[ PATCH v3 2/3] xen: enable Virtual-interrupt delivery
...#define EXIT_REASON_ACCESS_LDTR_OR_TR 47
#define EXIT_REASON_EPT_VIOLATION 48
diff -r 7c6844dd4a0d xen/include/asm-x86/hvm/vpt.h
--- a/xen/include/asm-x86/hvm/vpt.h Tue Sep 11 15:34:36 2012 +0800
+++ b/xen/include/asm-x86/hvm/vpt.h Fri Sep 14 09:16:35 2012 +0800
@@ -141,7 +141,7 @@ struct pl_time { /* platform time */
void pt_save_timer(struct vcpu *v);
void pt_restore_timer(struct vcpu *v);
-void pt_update_irq(struct vcpu *v);
+int pt_update_irq(struct vcpu *v);
void pt_intr_post(struct vcpu *v, struct hvm_intack intack);
void pt_migrate(struct vcpu *v);