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

[Xen-devel] Re: Fire-wire passthrough with Linux pv-ops (2.6.31.1)



On Tue, Oct 13, 2009 at 09:32:08AM +0800, Mr. Teo En Ming (Zhang Enming) wrote:
> Hi,
> 
> I have a firewire passthrough script passthru-firewire.sh.
> 
> #!/bin/sh
> echo "11c1 5811" > /sys/bus/pci/drivers/pci-stub/new_id
> echo "0000:02:01.0" > /sys/bus/pci/devices/0000:02:01.0/driver/unbind
> echo "0000:02:01.0" > /sys/bus/pci/drivers/pci-stub/bind
> 
> #Unload firewire driver
> rmmod firewire_ohci
> rmmod firewire_core
> 
> I have the pci directive in winxp domU config:
> 
> # nvidia & firewire
> pci = [ '01:00.0','02:01.0' ]
> 
> 01:00.0 is for passing through the nvidia pci express x16 graphics
> card and 02:01.0 is the BDF of the OHCI firewire controller.
> 
> And I also added the vendorid and productid of the firewire controller
> in xend-pci-permissive.sxp.
> 
> (unconstrained_dev_ids
>      #('0123:4567:89AB:CDEF')
>      ('11c1:5811')
> )
> 
> This is the first time I am trying to get it to work.

It should not work. I am saying this b/c the pciback which is required to
pass-through PCI writes/reads has not been ported over to 2.6.31.1 yet. I am
working on this right now.

The pci-stub is just what it says. A stub.

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


 


Rackspace

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