From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: [PATCH 0 of 4] Add commands to automatically prep devices for pass-through Date: Wed, 9 May 2012 12:03:31 +0100 Message-ID: <4FAA4F03.600@eu.citrix.com> References: <1336560543.25514.74.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1336560543.25514.74.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 09/05/12 11:49, Ian Campbell wrote: > On Wed, 2012-05-09 at 11:28 +0100, George Dunlap wrote: >> The current method for passing through devices requires users to >> either modify cryptic Linux boot parameters and reboot, or do a lot of >> manual reads and writes into sysfs nodes. >> >> This set of patches introduces commands to make this easier. > Is this intended for 4.2 or an RFC for 4.3? Well, I would really like it to go in to 4.2 -- it's been on my to-do list for a month at least, and it will make doing pci pass-through, and thus driver domains, a lot more straightforward. -George > >> It expands >> on the concept of "assignable" (from the list_assignable_devices command). >> >> The new xl commands are: >> >> pci_assignable_add: Make a device assignable to guests. This involves >> unbinding the device from its old driver, creating a slot for it in >> pciback (if necessary), and binding it to pciback. >> >> pci_assignable_list: List devices assignable to guests. Just renamed >> from pci_list_assignable. >> >> pci_assignable_remove: Make the device no longer assignable to guests. >> This involves unbinding the device from pciback and removing the slot. It >> optionally involves rebinding the device to the driver from which we stole >> it. >> >> Signed-off-by: George Dunlap >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xen.org >> http://lists.xen.org/xen-devel >