|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH][VTD] fixed another dom0 boot issue on my system
Dom0 boot crashed on my system because dom0 pointer is NULL at this point.
Signed-off-by: Allen Kay allen.m.kay@xxxxxxxxx
===================
diff -r 7fe15a0ee3d8 xen/drivers/passthrough/vtd/x86/vtd.c
--- a/xen/drivers/passthrough/vtd/x86/vtd.c Tue Feb 17 11:20:18 2009 +0000
+++ b/xen/drivers/passthrough/vtd/x86/vtd.c Tue Feb 17 16:17:05 2009 -0800
@@ -149,7 +149,8 @@ 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);
+ if ( dom0 )
+ BUG_ON(d != dom0);
for ( i = 0; i < max_page; i++ )
{
fix_boot.patch
Description: fix_boot.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH][VTD] fixed another dom0 boot issue on my system,
Kay, Allen M <=
|
|
|
|
|