[Starlingx-discuss] [Bug]About GPU passthrough issue.

Liu, ZhipengS zhipengs.liu at intel.com
Thu Aug 22 03:21:16 UTC 2019


Hi all,

About bug of unable to create vm with GPU/Crypto passthrough devices
https://bugs.launchpad.net/starlingx/+bug/1824831

The question is clear now for GPU passthrough.

According to openstack doc, we need to modify nova.conf to add alias info.
https://docs.openstack.org/nova/pike/admin/pci-passthrough.html

For QAT, we have added some frequently used QAT items by hardcoding, like below
alias = {"vendor_id": "8086", "product_id": "0435", "name": "qat-dh895xcc-pf"}
alias = {"vendor_id": "8086", "product_id": "0443", "name": "qat-dh895xcc-vf"}
alias = {"vendor_id": "8086", "product_id": "37c8", "name": "qat-c62x-pf"}
alias = {"vendor_id": "8086", "product_id": "37c9", "name": "qat-c62x-vf"}

Can we do it the same for GPU. Add GPU items by hardcoding.
As I know, you used [102b:0522]   [vendorid:productid]
I also saw below GPU product.
[1a03:2000]
[8086:3e92]

BTW, can we create port and attach it to VM, so that no need to add this alias.

Perfect solution is to detect gpu info automatically and add to alias list after power on.
>From my point, this is new feature requirement

Any comment?

Thanks!
Zhipeng

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190822/7cb6d467/attachment.html>


More information about the Starlingx-discuss mailing list