[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] PCI.get_all_records


  • To: "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • From: Chris Beasley <Chris@xxxxxxxxxx>
  • Date: Thu, 2 Apr 2015 08:14:29 +0000
  • Accept-language: en-NZ, en-US
  • Delivery-date: Thu, 02 Apr 2015 08:15:02 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: AdBtHBUt1zVj8FHOTSqr8qMGrv6ZZg==
  • Thread-topic: PCI.get_all_records

Hi,

 

The Xen-Orchestra team where trying to implement a system that allowed you to add attached pci devices to any VM that the host can use.  Normally this is done by using LSPCI to get the PCI ID and then passing this through to a VM using the xe other config command.  Now, as far as XO can determine, the pci.get_all_records() should get a list of all pci devices attached to the host, but instead is simply lists only any attached gpu and not the rest of the devices such as USB, other pci devices etc.  Is pci.get_all_records() the right api command to list all devices attached to the host, or is there no way to do what LSPCI does from the console using XenAPI?

 

Thanks,

 

Chris

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.