[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] vtd, x86: Fix dom0 boot crash



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1234947391 0
# Node ID 08da408254c6440f01ebc7ee962c16c1d8d3f079
# Parent  247023fb724c2708b89990bfa69a53bda559ff48
vtd, x86: Fix dom0 boot crash

Signed-off-by: Allen Kay allen.m.kay@xxxxxxxxx
---
 xen/drivers/passthrough/vtd/x86/vtd.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 247023fb724c -r 08da408254c6 xen/drivers/passthrough/vtd/x86/vtd.c
--- a/xen/drivers/passthrough/vtd/x86/vtd.c     Wed Feb 18 08:53:52 2009 +0000
+++ b/xen/drivers/passthrough/vtd/x86/vtd.c     Wed Feb 18 08:56:31 2009 +0000
@@ -149,7 +149,7 @@ void iommu_set_dom0_mapping(struct domai
     u64 i, j, tmp;
     extern int xen_in_range(paddr_t start, paddr_t end);
 
-    BUG_ON(d != dom0);
+    BUG_ON(d->domain_id != 0);
 
     for ( i = 0; i < max_page; i++ )
     {

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.