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-unstable] vtd, x86: Fix dom0 boot crash

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] vtd, x86: Fix dom0 boot crash
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 18 Feb 2009 07:15:12 -0800
Delivery-date: Wed, 18 Feb 2009 07:14:53 -0800
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 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] vtd, x86: Fix dom0 boot crash, Xen patchbot-unstable <=