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: "Han, Weidong" <weidong.han@xxxxxxxxx>
Subject: Re: [Xen-devel] [VTD][PATCH] Change xc_assign_device()
From: Muli Ben-Yehuda <muli@xxxxxxxxxx>
Date: Mon, 10 Dec 2007 10:01:15 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Delivery-date: Mon, 10 Dec 2007 00:02:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <08DF4D958216244799FC84F3514D70F0BB2598@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Mon, Dec 10, 2007 at 02:21:55PM +0800, Han, Weidong wrote:

> Currently we assign devices with VT-d in Xend, this raises two issues:
> 1) assign devices regardless of they are hidden by pciback or not. If
> the device is not hidden, it results in the device doesn't work in Dom0;
> 2) device is assigned one by one, if assign multiple devices, some
> devices may have been assigned when problem happens, it results in
> assigned devices don't work in Dom0. I think Xend is not a good place to
> assign devices. This patch adds a parameter to xc_assign_device(), let
> it just do check in Xend whether the devices can be assigned or not, and
> move real device assignment to qemu. 

Why is qemu a better place to assign the devices? How does moving it
to qemu solve the two issues mentioned above?

Cheers,
Muli

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