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] [RFC] Auto rebind PCI devices

To: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC] Auto rebind PCI devices
From: Muli Ben-Yehuda <mulix@xxxxxxxxx>
Date: Tue, 04 Apr 2006 22:09:35 +0300
Cc: hap9@xxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 04 Apr 2006 12:10:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200604041743.32542.mark.williamson@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: <200604041743.32542.mark.williamson@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11+cvs20060126
On Tue, Apr 04, 2006 at 05:43:32PM +0100, Mark Williamson wrote:

> The behaviour is:
> * If the device specified in a domain config file is already bound to another 
> driver in dom0, fail creation with an error - as before.
> * If the device specified in the config is not currently bound to a driver, 
> add it to the pciback driver and create the domain.

That sounds very reasonable.

> * If the device specificed in the config is bound *and* pci-force-rebind is 
> set, then unbind it from the existing driver and rebind it to pciback, then 
> start the domain.

That sounds awkward. What's the use case you see in mind from stealing
devices from a domain while it's running?

For what it's worth, we'll be looking soon at creating IOMMU IO spaces
for devices automatically when they're granted to domains.

Cheers,
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/


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