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] pciback

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.


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

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