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