]> xenbits.xen.org Git - xenclient/ioemu.git/commit
ioemu: allow xend to specify the slot for pass-through devices
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 31 Mar 2009 10:40:30 +0000 (11:40 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 31 Mar 2009 10:40:30 +0000 (11:40 +0100)
commit52b38bc2f7afb4bd6707ea806bf2d1fd51ae908b
tree10bd5f54211a1be98e281ed4d9d505d736706346
parentc7ee42315cde5e2c6cb13bb34b6bc1a62e036246
ioemu: allow xend to specify the slot for pass-through devices

Currently a slot may be specified for a hot-plug device,
but not for a pass-through device that is inserted at boot time.
This patch adds support for the latter.

The syntax is:
     BUS:DEV.FUNC[@VSLOT]
e.g: 0000:00:1d:0@7

This may be important as recent changes that allow any free PCI
slot to be used for pass-through (and hotplug) may case pass-through
devices to be assigned in different locations to before. Amongst
other things, specifying the slot will allow users to move them
back, if there is a need.

There is also a xend portion of this patch, which will be posted separately.

Signed-off-by: Simon Horman <horms@vereg.net.au>
hw/pass-through.c