WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Sander Eikelenboom <linux@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: Fire-wire passthrough with Linux pv-ops (2.6.31.1)
From: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
Date: Tue, 13 Oct 2009 23:24:42 +0800
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, space.time.universe@xxxxxxxxx, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Tue, 13 Oct 2009 08:26:51 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ezg/ippMEBgXMKD+7+lRXCsVvOL95hWjbg5xFul6wK8=; b=s2Vu3XzxgW6OknfOJuMOkaJZAWXyj4wOTAsHQoZiRURHIatX3FpZRo6f/IU/F+G/Oa ttCGF7SP1qt1cyTTPlBNtFFA7WubuhmNd5YnDBZIvpb8hBqI4wA5Nf8AoSfWBdqCTV8+ 4wAQzlhilHu1/6kCgM5Pa2iIzk9PdlUNCGckk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Yh7yRrt2f3z5lsHB1S3pPin62XRnHonghk/he2w7qK9EURmZpVZC120g+7H5x6c6fM XBa4/tnUWoGP4DcIW9kWmf4QmYAIXURNAgJArVag43tW0wlMvNdp4H1Mmg+vA49wUCW0 UKUXwyy1kQhxJC2C+r+sLckq+0ZF19umYbrmU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1562270432.20091013164823@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <f712b9cf0910080744n6052876n4bda0ee6c1d59ec1@xxxxxxxxxxxxxx> <f712b9cf0910081754j2b83fb76jc9233db191b5f5bf@xxxxxxxxxxxxxx> <20091009071135.GJ1434@xxxxxxxxxxx> <f712b9cf0910090052o2bc415aap3d6a7d96a3443e8a@xxxxxxxxxxxxxx> <4ACFAE0A.4090902@xxxxxxxx> <f712b9cf0910110022u5ebf77b2u1f25c9cf5bd47e1c@xxxxxxxxxxxxxx> <20091012181000.GA14336@xxxxxxxxxxxxxxxxxxx> <f712b9cf0910121832o55c2b1a5v22fa01624f49bdfc@xxxxxxxxxxxxxx> <20091013142253.GB19950@xxxxxxxxxxxxxxxxxxx> <1562270432.20091013164823@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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?

-- 
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@xxxxxxxxx
MSN: teoenming@xxxxxxxxxxx
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore



On Tue, Oct 13, 2009 at 10:48 PM, Sander Eikelenboom
<linux@xxxxxxxxxxxxxx> 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 = [ '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.
>
>
>
>
>
> --
> Best regards,
>  Sander                            mailto:linux@xxxxxxxxxxxxxx
>
>

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

<Prev in Thread] Current Thread [Next in Thread>