On Mon, Mar 30, 2009 at 03:00:55PM +0100, Daniel P. Berrange wrote:
> This patch implements PCI device passthrough for Xen.
>
> In pci.c there is a fair bit of refactoring to better support both
> pcistub.ko and pciback.ko. The latter has two extra sysfs files,
> add_slot and remove_slot for assoc
On Tue, Mar 31, 2009 at 10:10:14AM +0200, Gerd Hoffmann wrote:
> Hi,
>
> > +static const char *
> > +pciFindStubDriver(virConnectPtr conn)
> > +{
> > +char drvpath[PATH_MAX];
> > +int probed = 0;
> > +
> > +recheck:
> > +pciDriverDir(drvpath, sizeof(drvpath), "pci-stub");
> > +if
Hi,
> +static const char *
> +pciFindStubDriver(virConnectPtr conn)
> +{
> +char drvpath[PATH_MAX];
> +int probed = 0;
> +
> +recheck:
> +pciDriverDir(drvpath, sizeof(drvpath), "pci-stub");
> +if (virFileExists(drvpath))
> +return "pci-stub";
> +pciDriverDir(drvpath,
This patch implements PCI device passthrough for Xen.
In pci.c there is a fair bit of refactoring to better support both
pcistub.ko and pciback.ko. The latter has two extra sysfs files,
add_slot and remove_slot for associating the driver with a specific
PCI device domain:bus:slot:func address, whe