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: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, "Muli Ben-Yehuda" <muli@xxxxxxxxxx>
Subject: RE: [Xen-devel] [VTD][PATCH] Change xc_assign_device()
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Tue, 11 Dec 2007 21:00:56 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Delivery-date: Tue, 11 Dec 2007 05:05:21 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C382F312.19A6C%Keir.Fraser@xxxxxxxxxxxx>
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: <08DF4D958216244799FC84F3514D70F0BB25A1@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C382F312.19A6C%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acg7At5ac39RAkxwRX23qaqDSfIGOAAAD5tgAAEf+zsAAAiYwAAA2lpMAAAc1VAAA3sEUQABxuQAAAB4ckMAAD7zAAAAdAOPAACibJAAArU0WgAwouXA
Thread-topic: [Xen-devel] [VTD][PATCH] Change xc_assign_device()
Keir Fraser wrote:
> Oh, I think I see. So pciback gets told about the pass-through setup,
> and is allowed to set up a dummy device at that time. And you want to
> delay the assignment until after that?
> 

Yes.

> Anyway, the patch as is could be improved. I'd add another domctl
> command rather than add a hacky boolean field to the structure. The
> new command can share the existing assign_device structure.
> 

The patch is changed per your suggestion, it adds a new domctl command
insteads of the boolean field.

Randy (Weidong)

Attachment: test-assign-device.patch
Description: test-assign-device.patch

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