[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.1-testing] hvm: time: Fixes to 'SYNC' (no_missed_ticks_pending) timer handling.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1199965090 0 # Node ID 26226f0e593c1d0547f6f932770aabc52f663bf1 # Parent 4eae9c351c5edc3e97aed2a6e41761d0dd0f37e7 hvm: time: Fixes to 'SYNC' (no_missed_ticks_pending) timer handling. Based on a patch by Dave Winchell <dwinchell@xxxxxxxxxxxxxxx> Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> xen-unstable changeset: 16690:01adaec882d4ea62aede17926716d122b084dd94 xen-unstable date: Tue Jan 08 14:31:23 2008 +0000 --- xen/arch/x86/hvm/vpt.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff -r 4eae9c351c5e -r 26226f0e593c xen/arch/x86/hvm/vpt.c --- a/xen/arch/x86/hvm/vpt.c Thu Jan 10 11:37:32 2008 +0000 +++ b/xen/arch/x86/hvm/vpt.c Thu Jan 10 11:38:10 2008 +0000 @@ -166,6 +166,7 @@ static void pt_timer_fn(void *data) pt_lock(pt); pt->pending_intr_nr++; + pt->do_not_freeze = 0; if ( !pt->one_shot ) { @@ -251,7 +252,6 @@ void pt_intr_post(struct vcpu *v, int ve return; } - pt->do_not_freeze = 0; pt->irq_issued = 0; if ( pt->one_shot ) @@ -262,7 +262,8 @@ void pt_intr_post(struct vcpu *v, int ve } else { - if ( mode_is(v->domain, one_missed_tick_pending) ) + if ( mode_is(v->domain, one_missed_tick_pending) || + mode_is(v->domain, no_missed_ticks_pending) ) { pt->last_plt_gtime = hvm_get_guest_time(v); pt->pending_intr_nr = 0; /* 'collapse' all missed ticks */ _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |