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/
Home Products Support Community News


[Xen-changelog] [xen-unstable] hvm vlapic: Fix one_shot argument passed

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] hvm vlapic: Fix one_shot argument passed to create_periodic_time().
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 03 Jul 2007 13:33:39 -0700
Delivery-date: Tue, 03 Jul 2007 13:31:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1183459628 -3600
# Node ID eb2b7ce05f9769cb4761e4608cd990b4b8c9519c
# Parent  c192e3241eb7a620e371bc4ff532baba99cc5230
hvm vlapic: Fix one_shot argument passed to create_periodic_time().
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx>
 xen/arch/x86/hvm/vlapic.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r c192e3241eb7 -r eb2b7ce05f97 xen/arch/x86/hvm/vlapic.c
--- a/xen/arch/x86/hvm/vlapic.c Tue Jul 03 11:44:13 2007 +0100
+++ b/xen/arch/x86/hvm/vlapic.c Tue Jul 03 11:47:08 2007 +0100
@@ -660,7 +660,7 @@ static void vlapic_write(struct vcpu *v,
         vlapic_set_reg(vlapic, APIC_TMICT, val);
         create_periodic_time(current, &vlapic->pt, period, vlapic->pt.irq,
-                             vlapic_lvtt_period(vlapic), NULL, vlapic);
+                             !vlapic_lvtt_period(vlapic), NULL, vlapic);
                     "bus cycle is %uns, "
@@ -819,7 +819,7 @@ static void lapic_rearm(struct vlapic *s
         s->pt.irq = lvtt & APIC_VECTOR_MASK;
         create_periodic_time(vlapic_vcpu(s), &s->pt, period, s->pt.irq,
-                             vlapic_lvtt_period(s), NULL, s);
+                             !vlapic_lvtt_period(s), NULL, s);
         printk("lapic_load to rearm the actimer:"
                     "bus cycle is %uns, "

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] hvm vlapic: Fix one_shot argument passed to create_periodic_time()., Xen patchbot-unstable <=