|
|
@@ -156,7 +156,7 @@ int cpu_isa_init(struct perf_kvm_stat *kvm, const char *cpuid)
|
|
|
if (strstr(cpuid, "Intel")) {
|
|
|
kvm->exit_reasons = vmx_exit_reasons;
|
|
|
kvm->exit_reasons_isa = "VMX";
|
|
|
- } else if (strstr(cpuid, "AMD")) {
|
|
|
+ } else if (strstr(cpuid, "AMD") || strstr(cpuid, "Hygon")) {
|
|
|
kvm->exit_reasons = svm_exit_reasons;
|
|
|
kvm->exit_reasons_isa = "SVM";
|
|
|
} else
|