diff options
author | Sean Christopherson <seanjc@google.com> | 2022-11-28 22:57:34 +0000 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2022-12-01 15:31:45 -0800 |
commit | cd5f3d210095347e9d40a9a1d464f5ee0bb5d7f2 (patch) | |
tree | 5a7273eac6ffa3bc87cad03b4f94b68e1ee96d23 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2ceade1d363c934633a1788d0f98fc2332062b92 (diff) |
KVM: selftests: Disallow "get supported CPUID" before REQ_XCOMP_GUEST_PERM
Disallow using kvm_get_supported_cpuid() and thus caching KVM's supported
CPUID info before enabling XSAVE-managed features that are off-by-default
and must be enabled by ARCH_REQ_XCOMP_GUEST_PERM. Caching the supported
CPUID before all XSAVE features are enabled can result in false negatives
due to testing features that were cached before they were enabled.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20221128225735.3291648-4-seanjc@google.com
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions