All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@XenSource.com>
To: ron minnich <rminnich@gmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: pciback
Date: Fri, 15 Dec 2006 07:15:33 +0000	[thread overview]
Message-ID: <1166166933.28197.94.camel@localhost.localdomain> (raw)
In-Reply-To: <13426df10612141455n7485f4ah254db16f4a3e4433@mail.gmail.com>

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.

  reply	other threads:[~2006-12-15  7:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14  3:19 pciback ron minnich
2006-12-14  8:35 ` pciback Keir Fraser
2006-12-14 15:20   ` pciback ron minnich
2006-12-14 15:53 ` pciback Ian Campbell
2006-12-14 20:26   ` pciback ron minnich
2006-12-14 22:28     ` pciback Ian Campbell
2006-12-14 22:55       ` pciback ron minnich
2006-12-15  7:15         ` Ian Campbell [this message]
2006-12-15 16:50           ` pciback ron minnich
2006-12-14 21:43   ` pciback ron minnich
  -- strict thread matches above, loose matches on Subject: below --
2012-03-19  2:25 pciback Teo En Ming (Zhang Enming)
2012-03-19  2:29 ` pciback Fajar A. Nugraha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1166166933.28197.94.camel@localhost.localdomain \
    --to=ian.campbell@xensource.com \
    --cc=rminnich@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.