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

[Xen-ia64-devel] [PATCH] Fix some IPF Xen VT-d bugs

To: 'Isaku Yamahata' <yamahata@xxxxxxxxxxxxx>, "'xen-ia64-devel@xxxxxxxxxxxxxxxxxxx'" <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] [PATCH] Fix some IPF Xen VT-d bugs
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Tue, 23 Dec 2008 11:20:34 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc:
Delivery-date: Mon, 22 Dec 2008 19:21:02 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aclj3/5YvUiu7AWhT7CMTchB5MI2gQAzNCrg
Thread-topic: [PATCH] Fix some IPF Xen VT-d bugs
In arch_domain_create(): when xen creates Dom0, need_iommu(d) is false, so 
iommu_domain_init() is not invoked, as a result, eventually iommu is not 
enabled properly.

In IA64 Xen, physdev_map_pirq()/physdev_unmap_pirq() are kept dummy since we 
don't support MSI in IA64 Xen now, but here they shouldn't return -ENOSYS 
because xend invokes them (the x86 version of them is necessary for x86 Xen); 
in IPF Xen if they return -ENOSYS, xend would disallow us to create IPF HVM 
guest with devices assigned. Here They can return 0 instead.

Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>

Attachment: fix_vtd.patch
Description: fix_vtd.patch

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>