ia64/xen-unstable

changeset 19227:08da408254c6

vtd, x86: Fix dom0 boot crash

Signed-off-by: Allen Kay allen.m.kay@intel.com
author Keir Fraser <keir.fraser@citrix.com>
date Wed Feb 18 08:56:31 2009 +0000 (2009-02-18)
parents 247023fb724c
children c3a307f5a14b
files xen/drivers/passthrough/vtd/x86/vtd.c
line diff
     1.1 --- a/xen/drivers/passthrough/vtd/x86/vtd.c	Wed Feb 18 08:53:52 2009 +0000
     1.2 +++ b/xen/drivers/passthrough/vtd/x86/vtd.c	Wed Feb 18 08:56:31 2009 +0000
     1.3 @@ -149,7 +149,7 @@ void iommu_set_dom0_mapping(struct domai
     1.4      u64 i, j, tmp;
     1.5      extern int xen_in_range(paddr_t start, paddr_t end);
     1.6  
     1.7 -    BUG_ON(d != dom0);
     1.8 +    BUG_ON(d->domain_id != 0);
     1.9  
    1.10      for ( i = 0; i < max_page; i++ )
    1.11      {