Support AMD SVM flag in vGPU precheck#125
Conversation
Check for both "vmx" (Intel VT) and "svm" (AMD-V) flags in lscpu output so vGPU precheck passes on AMD systems with virtualization enabled.
|
Wow, how hard is it to merge this one? |
|
Whole XPUM code base has been rewritten (mostly before this PR). In v2.x code base, VMX check is here: https://github.com/intel/xpumanager/blob/main/oal/lin/linvf.cpp#L927 It seems to be missing SVM check too. |
|
@Azerothian I raised this internally (I'm myself looking after XPUMD v2 Go code, not XPU-SMI v1/v2).
Besides the 2.0 (rewrite) release having kept the new XPUM team busy, project notifications not having worked (for the new XPUM team), larger issue is lack of AMD HW in XPUMD validation (currently all test HW is Intel based). So, please bear with us... PS. Currently code would get merged to internal repository, not here, so you would not see the change before code is synced for the next release (v2.x |
Summary
svmflag in addition tovmxfromlscpuoutputFixes #124
Test plan
lscpuoutput containsvmx— precheck passes (unchanged behavior)lscpuoutput containssvm— precheck now passes (previously failed)