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-devel

[Xen-devel] [PATCH] VT-d: prevent dom0 to use VT-d HW

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] VT-d: prevent dom0 to use VT-d HW
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Tue, 8 Sep 2009 10:24:37 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>, "'Keir.Fraser@xxxxxxxxxxxxx'" <Keir.Fraser@xxxxxxxxxxxxx>
Delivery-date: Mon, 07 Sep 2009 19:25:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcowK4Lrtqm+re5eTWyuZnYHmOipIA==
Thread-topic: [Xen-devel] [PATCH] VT-d: prevent dom0 to use VT-d HW
pv-ops dom0 contains Linux upstream VT-d driver, and will go to enable it when 
VT-d is set in kernel config file. It should not enable VT-d in dom0.

Currently it already zaps ACPI DMAR signature to prevents dom0 using VT-d HW 
when VT-d is enabled for Xen. But when VT-d is not enabled for Xen, and VT-d is 
set in pv-ops kernel config file, pv-ops dom0 will go to enable it. This will 
results in pv-ops dom0 booting failure. This patch prevents dom0 to use VT-d HW 
whether VT-d is enabled or disabled for Xen. 

Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx>

Attachment: disable-dom0-vtd.patch
Description: disable-dom0-vtd.patch

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