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] [VTD][PATCH] Change xc_assign_device()

To: "Muli Ben-Yehuda" <muli@xxxxxxxxxx>
Subject: RE: [Xen-devel] [VTD][PATCH] Change xc_assign_device()
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Mon, 10 Dec 2007 16:36:10 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Delivery-date: Mon, 10 Dec 2007 00:43:52 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071210082328.GF3175@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: <08DF4D958216244799FC84F3514D70F0BB2598@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20071210080115.GE3175@xxxxxxxxxxxxxxxxxx> <08DF4D958216244799FC84F3514D70F0BB2599@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20071210082328.GF3175@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acg7Bn2XRQd6wg+WQL+6/CkvFqZLwwAAE+WA
Thread-topic: [Xen-devel] [VTD][PATCH] Change xc_assign_device()
Muli Ben-Yehuda wrote:
> On Mon, Dec 10, 2007 at 04:13:45PM +0800, Han, Weidong wrote:
> 
>> Xend is too early to do real assignment, do some checking is better.
>> These two issues will be found by the checks in Xend ( 1) issue will
>> be found by pciback). After passing these checks in Xend, it's
>> suitable to do real device assignment and memory and ioport mappings
>> in qemu.
> 
> Considering Xend already does the checks, wouldn't it be better to
> just move the assignments to after the checks are done, but still keep
> them in Xend?
> 

The checks added for VT-d in Xend doesn't check whether it's hidden or
not, which is checked by pciback (xend/server/pciif.py). 

Randy (Weidong)


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