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

RE: [Xen-devel] [PATCH 0/5] VT-d support for PV guests

To: "Espen Skoglund" <espen.skoglund@xxxxxxxxxxxxx>, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH 0/5] VT-d support for PV guests
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Tue, 20 May 2008 20:50:12 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 20 May 2008 05:51:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <18482.42261.877510.586657@xxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <18481.58026.284129.700801@xxxxxxxxxxxxxxxxxx><1FE6DD409037234FAB833C420AA843EC015F2709@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <18482.42261.877510.586657@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aci6YuAzAMC9YgL2QpKNpJ+Gv+HvIgAE19Yg
Thread-topic: [Xen-devel] [PATCH 0/5] VT-d support for PV guests
Espen Skoglund wrote:
> [Allen M Kay]
>>> 
>>> While adding the PV VT-d support I also noticed that there is a lot
>>> of duplicated and unused code dealing with VT-d.  This really needs
>>> to be cleaned up properly.  I don't know if the original VT-d
>>> submitters already have made plans for doing this.
>>> 
>>> 
> 
>> Other than the hardware wait loops which is something we need to
>> clean up, can you give some example of duplicated/unused code in
>> vt-d directory?
> 
> From the top of my head:
> 
>     iommu_set/free_pgd()  in xen/drivers/passthrough/vtd/x86/vtd.c
>     iommu_page_unmapping() in xen/drivers/passthrough/vtd/iommu.c
> 

In the VT-d development, these code are used once. Now they are indeed
useless. We will clean up them later. Thanks!

Randy (Weidong)

> There's probably more that I can't think of right now.
> 
>       eSk


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