xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Relation between PCI device and Xenstore Device
@ 2012-02-14 10:46 Daniel Castro
  0 siblings, 0 replies; only message in thread
From: Daniel Castro @ 2012-02-14 10:46 UTC (permalink / raw)
  To: xen-devel; +Cc: seabios

Hello All,

I am writing some code to share some devices via the xenstore, yet I
found a small problem.

When I list the devices from the PCI I get the device id and the
vendor id. On the xenstore I get the virtual-device, yet I have no
apparent way to correctly map them, Do I need to enumerate the PCI
devices, ask the size and then compare to xenstore so I can map them?
but what if they have the same size?
For example on my test VM I have to vbd 832 and 768 first is cdrom the
second disk.
On the pci I have this:
Device Vendor
32902 4663
4115 184
22611 1

I am interested in 226611 that corresponds to XEN.

Some light on this small issue?

Thanks for the help.

Daniel

-- 
+-=====---------------------------+
| +---------------------------------+ | This space intentionally blank
for notetaking.
| |   | Daniel Castro,                |
| |   | Consultant/Programmer.|
| |   | U Andes                         |
+-------------------------------------+

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-14 10:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-14 10:46 Relation between PCI device and Xenstore Device Daniel Castro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).