WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] hvm: Do not mess with APIC timer deadline

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] hvm: Do not mess with APIC timer deadline if in one-shot mode.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 05 Nov 2008 07:00:35 -0800
Delivery-date: Wed, 05 Nov 2008 07:01:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1225190182 0
# Node ID 16eede82385477740830a8c4ddc0a5a200c851c7
# Parent  748af1e5d67c5f4604d095f95b9c953ae1d5adcc
hvm: Do not mess with APIC timer deadline if in one-shot mode.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/hvm/vpt.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 748af1e5d67c -r 16eede823854 xen/arch/x86/hvm/vpt.c
--- a/xen/arch/x86/hvm/vpt.c    Tue Oct 28 10:35:15 2008 +0000
+++ b/xen/arch/x86/hvm/vpt.c    Tue Oct 28 10:36:22 2008 +0000
@@ -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;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] hvm: Do not mess with APIC timer deadline if in one-shot mode., Xen patchbot-unstable <=