[SeaBIOS] Relation between PCI device and Xenstore Device

Daniel Castro evil.dani at gmail.com
Tue Feb 14 11:46:09 CET 2012


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                         |
+-------------------------------------+



More information about the SeaBIOS mailing list