The Hygon Dhyana processor has the SVM feature as AMD family 17h does.
To create VMs successfully on Hygon platforms, add Hygon Dhyana support
to the vmm infrastructure by sharing the code path of AMD family 17h.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/amd64/vmm/vmm_util.h | ||
---|---|---|
38 ↗ | (On Diff #67916) | I think you could create a new function, vmm_is_svm(), and roll the AMD and Hygon check into that. The is_amd/is_hygon routines could be removed. |
Comment Actions
I agree with @grehan, vmm_is_svm is preferable rather than changing all cases to vmm_is_amd || vmm_is_hygon
Comment Actions
OK, will use vmm_is_svm instead.
sys/amd64/vmm/vmm_util.h | ||
---|---|---|
38 ↗ | (On Diff #67916) | OK, will add function vmm_is_svm(). |