From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: pciback Date: Fri, 15 Dec 2006 07:15:33 +0000 Message-ID: <1166166933.28197.94.camel@localhost.localdomain> References: <13426df10612131919t2a59f6ablb7528d88dbd0bfda@mail.gmail.com> <1166111605.3005.8.camel@localhost.localdomain> <13426df10612141226x7547a08eyc78bbbfbed9a6f4b@mail.gmail.com> <1166135332.28197.84.camel@localhost.localdomain> <13426df10612141455n7485f4ah254db16f4a3e4433@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <13426df10612141455n7485f4ah254db16f4a3e4433@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: ron minnich Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thu, 2006-12-14 at 15:55 -0700, ron minnich wrote: > Ian, I assumed that if I bound a device to pciback (it can bind now, > see earlier mail) then I would see it in xenstore. Is this not the > case? I don't think you will see anything till you configure and start a domU which uses that device. > If I set up a *pci in domU, but don't have pcifront working in domU > yet, can I still see it in xenstore on domU? This is the point at which I would expect stuff show up in xenstore. For example when I started a domU with PCI device 0000:00:1d.00 but no pcifront driver I see these store entries: # xenstore-ls /local/domain/0/backend/pci 13 = "" 0 = "" domain = "debian-2" frontend = "/local/domain/13/device/pci/0" uuid = "e115728d-a997-4433-e586-6d3e9103c8b4" dev-0 = "0000:00:1d.00" state = "3" online = "1" frontend-id = "13" num_devs = "1" root-0 = "0000:00" root_num = "1" # xenstore-ls /local/domain/13/device/pci 0 = "" state = "1" backend-id = "0" backend = "/local/domain/0/backend/pci/13/0" When I start the same domain with a pcifront driver I get: # xenstore-ls /local/domain/0/backend/pci 14 = "" 0 = "" domain = "debian-2" frontend = "/local/domain/14/device/pci/0" uuid = "b328cab0-a704-d59f-8133-c5f053f4b639" dev-0 = "0000:00:1d.00" state = "4" online = "1" frontend-id = "14" num_devs = "1" root-0 = "0000:00" root_num = "1" # xenstore-ls /local/domain/14/device/pci 0 = "" state = "4" backend-id = "0" backend = "/local/domain/0/backend/pci/14/0" pci-op-ref = "8" event-channel = "27" magic = "7" Ian.