vishesh92 commented on issue #11701: URL: https://github.com/apache/cloudstack/issues/11701#issuecomment-3327399783
@dk-blackfuel we weren't able to test with AMD GPUs due to lack of hardware. But CloudStack integration should allow full passthrough of PCI devices. Looks like the PCI Class for the AMD GPUs is `Processing accelerators`. You can update the `/usr/share/cloudstack-common/scripts/vm/kvm/gpudiscovery.sh` on KVM hosts and update it to include `Processing accelerators`. https://github.com/apache/cloudstack/blob/f9513b47bf8cda46c2cee7e31d4d662346bc7399/scripts/vm/hypervisor/kvm/gpudiscovery.sh#L719-L721 So the above piece code on the KVM hosts will become ```bash if [[ ! "$PCI_CLASS" =~ (3D\ controller|Processing\ accelerators) ]]; then continue fi ``` You will need to update this on all hosts where you have the AMD GPUs. Let me know how it goes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
