ia64/xen-unstable

changeset 18737:16eede823854

hvm: Do not mess with APIC timer deadline if in one-shot mode.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Oct 28 10:36:22 2008 +0000 (2008-10-28)
parents 748af1e5d67c
children 2c20d026bb55
files xen/arch/x86/hvm/vpt.c
line diff
     1.1 --- a/xen/arch/x86/hvm/vpt.c	Tue Oct 28 10:35:15 2008 +0000
     1.2 +++ b/xen/arch/x86/hvm/vpt.c	Tue Oct 28 10:36:22 2008 +0000
     1.3 @@ -389,7 +389,7 @@ void create_periodic_time(
     1.4       * LAPIC ticks for process accounting can see long sequences of process
     1.5       * ticks incorrectly accounted to interrupt processing.
     1.6       */
     1.7 -    if ( pt->source == PTSRC_lapic )
     1.8 +    if ( !pt->one_shot && (pt->source == PTSRC_lapic) )
     1.9          pt->scheduled += delta >> 1;
    1.10      pt->cb = cb;
    1.11      pt->priv = data;