summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2023-07-21 23:18:55 +0300
committerSean Christopherson <seanjc@google.com>2023-08-04 01:37:15 +0300
commitf9a8866040fcf8672f20c67e07e67ba5a00caba4 (patch)
treee761a41f92be8c12f63472718d79bc07c0f14884 /tools/perf/scripts/python/task-analyzer.py
parentc4db4f20f3bf619bacd3d705bf427016453eedb1 (diff)
downloadlinux-f9a8866040fcf8672f20c67e07e67ba5a00caba4.tar.xz
KVM: VMX: Ensure CPU is stable when probing basic VMX support
Disable migration when probing VMX support during module load to ensure the CPU is stable, mostly to match similar SVM logic, where allowing migration effective requires deliberately writing buggy code. As a bonus, KVM won't report the wrong CPU to userspace if VMX is unsupported, but in practice that is a very, very minor bonus as the only way that reporting the wrong CPU would actually matter is if hardware is broken or if the system is misconfigured, i.e. if KVM gets migrated from a CPU that _does_ support VMX to a CPU that does _not_ support VMX. Reviewed-by: Kai Huang <kai.huang@intel.com> Link: https://lore.kernel.org/r/20230721201859.2307736-16-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions