search for: pt_restore_timer

Displaying 3 results from an estimated 3 matches for "pt_restore_timer".

2013 Jun 04
13
[PATCH] x86/vtsc: update vcpu_time after hvm_set_guest_time
...hvm.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c index a962ce2..e257dcf 100644 --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -343,6 +343,12 @@ void hvm_do_resume(struct vcpu *v) ioreq_t *p; pt_restore_timer(v); + /* + * Update vcpu_info, since the call to pt_restore_timer can change + * the value in v->arch.hvm_vcpu.stime_offset that is used + * to calculate the TSC in vcpu_info->time. + */ + update_vcpu_system_time(v); check_wakeup_from_wait(); -- 1.7.7.5 (Apple...
2012 Sep 14
0
[ PATCH v3 2/3] xen: enable Virtual-interrupt delivery
...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);
2013 Sep 23
57
[PATCH RFC v13 00/20] Introduce PVH domU support
This patch series is a reworking of a series developed by Mukesh Rathor at Oracle. The entirety of the design and development was done by him; I have only reworked, reorganized, and simplified things in a way that I think makes more sense. The vast majority of the credit for this effort therefore goes to him. This version is labelled v13 because it is based on his most recent series, v11.