[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Relation between PCI device and Xenstore Device
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 | +-------------------------------------+ _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |