diff options
-rw-r--r-- | xen/arch/x86/hvm/vpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/hvm/vpt.c b/xen/arch/x86/hvm/vpt.c index d9730bf140..5dae7cd505 100644 --- a/xen/arch/x86/hvm/vpt.c +++ b/xen/arch/x86/hvm/vpt.c @@ -389,7 +389,7 @@ void create_periodic_time( * LAPIC ticks for process accounting can see long sequences of process * ticks incorrectly accounted to interrupt processing. */ - if ( pt->source == PTSRC_lapic ) + if ( !pt->one_shot && (pt->source == PTSRC_lapic) ) pt->scheduled += delta >> 1; pt->cb = cb; pt->priv = data; |