From: "Mr. Teo En Ming (Zhang Enming)" Subject: Re: Re: Fire-wire passthrough with Linux pv-ops (2.6.31.1) Date: Tue, 13 Oct 2009 23:24:42 +0800 Message-ID: References: <20091009071135.GJ1434@reaktio.net> <4ACFAE0A.4090902@goop.org> <20091012181000.GA14336@phenom.dumpdata.com> <20091013142253.GB19950@phenom.dumpdata.com> <1562270432.20091013164823@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1562270432.20091013164823@eikelenboom.it> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Sander Eikelenboom Cc: Jeremy Fitzhardinge , xen-devel@lists.xensource.com, space.time.universe@gmail.com, Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org Couldn't pci-stub be used to passthrough the ohci firewire controller? I had used pci-stub to passthrough the PCI-E x16 graphics card to Windows guest. For firewire controller, must it really use pciback for passthrough? --=20 Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com Email: space.time.universe@gmail.com MSN: teoenming@hotmail.com Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road Republic of Singapore On Tue, Oct 13, 2009 at 10:48 PM, Sander Eikelenboom wrote: > Good to hear pciback is coming soon ! :-) > > > Tuesday, October 13, 2009, 4:22:53 PM, you wrote: > >> 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 =3D [ '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 >>> =A0 =A0 =A0#('0123:4567:89AB:CDEF') >>> =A0 =A0 =A0('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 t= o >> 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. > > > > > > -- > Best regards, > =A0Sander =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0mailto:l= inux@eikelenboom.it > >