[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 0 of 4] Add commands to automatically prep devices for pass-through



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<george.dunlap@xxxxxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.