ia64/xen-unstable

changeset 16249:413107fa49a5

x86, hvm, vt-d: Kill timer in iommu domain destroy
Signed-off-by: Weidong Han <weidong.han@intel.com>
author Keir Fraser <keir@xensource.com>
date Fri Oct 26 10:33:12 2007 +0100 (2007-10-26)
parents cae485f682aa
children d31f63db5f1e
files xen/arch/x86/hvm/vmx/vtd/io.c
line diff
     1.1 --- a/xen/arch/x86/hvm/vmx/vtd/io.c	Fri Oct 26 10:32:20 2007 +0100
     1.2 +++ b/xen/arch/x86/hvm/vmx/vtd/io.c	Fri Oct 26 10:33:12 2007 +0100
     1.3 @@ -180,7 +180,10 @@ void iommu_domain_destroy(struct domain 
     1.4      {
     1.5          for ( i = 0; i < NR_IRQS; i++ )
     1.6              if ( hvm_irq_dpci->mirq[i].valid )
     1.7 +            {
     1.8                  pirq_guest_unbind(d, i);
     1.9 +                kill_timer(&hvm_irq_dpci->hvm_timer[irq_to_vector(i)]);
    1.10 +            }
    1.11          d->arch.hvm_domain.irq.dpci = NULL;
    1.12          xfree(hvm_irq_dpci);
    1.13      }