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-3.4-testing] VT-d: correct kill hvm_timer

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.4-testing] VT-d: correct kill hvm_timer
From: "Xen patchbot-3.4-testing" <patchbot-3.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Jun 2009 03:45:46 -0700
Delivery-date: Tue, 23 Jun 2009 03:47:47 -0700
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 1245753277 -3600
# Node ID 23ec70aac2b5108f373d095116c2817a10adec77
# Parent  0d2a9eea94acff4401a4b2c6fd8cd4d619616379
VT-d: correct kill hvm_timer

hvm_timer is created with the vector got from domain_irq_to_vector(),
accordingly it should use the same vector to kill the timer. The patch
corrects it in pci_clean_dpci_irqs().

Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx>
xen-unstable changeset:   19815:b6612dd06218
xen-unstable date:        Tue Jun 23 11:26:22 2009 +0100
---
 xen/drivers/passthrough/pci.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 0d2a9eea94ac -r 23ec70aac2b5 xen/drivers/passthrough/pci.c
--- a/xen/drivers/passthrough/pci.c     Tue Jun 23 11:34:14 2009 +0100
+++ b/xen/drivers/passthrough/pci.c     Tue Jun 23 11:34:37 2009 +0100
@@ -206,7 +206,7 @@ static void pci_clean_dpci_irqs(struct d
               i = find_next_bit(hvm_irq_dpci->mapping, NR_IRQS, i + 1) )
         {
             pirq_guest_unbind(d, i);
-            kill_timer(&hvm_irq_dpci->hvm_timer[irq_to_vector(i)]);
+            kill_timer(&hvm_irq_dpci->hvm_timer[domain_irq_to_vector(d, i)]);
 
             list_for_each_safe ( digl_list, tmp,
                                  &hvm_irq_dpci->mirq[i].digl_list )

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.4-testing] VT-d: correct kill hvm_timer, Xen patchbot-3.4-testing <=