Add Display controller to GPU class check#12959
Conversation
this adds support for the amd instinct mi2xx accelorator crards in the discovery script.
|
Congratulations on your first Pull Request and welcome to the Apache CloudStack community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md)
|
There was a problem hiding this comment.
Pull request overview
This PR updates the KVM GPU discovery script’s PCI class filtering to recognize additional GPU-like PCI classes, aiming to improve detection of AMD Instinct MI2xx accelerator cards during host discovery.
Changes:
- Extend the PCI class regex filter to include
Display controllerentries fromlspci -nnm.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #12959 +/- ##
=========================================
Coverage 18.00% 18.00%
Complexity 16464 16464
=========================================
Files 5977 5977
Lines 537726 537726
Branches 66026 66026
=========================================
Hits 96839 96839
Misses 429968 429968
Partials 10919 10919
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@phiea Thanks for the PR and testing with AMD hardware. |
this adds support for the amd instinct mi2xx accelorator cards in the discovery script.
Description
This PR...
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
runnig it on system with two mi210
How did you try to break this feature and the system with this change?