diff options
author | Paolo Bonzini <[email protected]> | 2023-09-21 07:49:40 -0400 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2023-09-22 10:55:26 +0200 |
commit | 7deda2ce5b33edc6d689e429e3fe75382468b030 (patch) | |
tree | b3e6adcdb4ac6674cd693bbf95a5658f6a459a35 /tools/perf/scripts/python/sched-migration.py | |
parent | ce9ecca0238b140b88f43859b211c9fdfd8e5b70 (diff) |
x86/cpu: Clear SVM feature if disabled by BIOS
When SVM is disabled by BIOS, one cannot use KVM but the
SVM feature is still shown in the output of /proc/cpuinfo.
On Intel machines, VMX is cleared by init_ia32_feat_ctl(),
so do the same on AMD and Hygon processors.
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions