diff options
| author | Yosry Ahmed <yosry@kernel.org> | 2026-03-07 01:16:18 +0000 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-03-12 09:05:41 -0700 |
| commit | d216449f253c7039c3e6a0276279c117a5198ce0 (patch) | |
| tree | 870702ea42773587074c2fb218ff2971ac28d206 /scripts/stackusage | |
| parent | 3b27c82ba2f3dcf8075e3df74dbf7294d2955d1a (diff) | |
KVM: x86: Use kvm_cpu_cap_has() for EFER bits enablement checks
Instead of checking that the hardware supports underlying features for
EFER bits, check if KVM supports them. It is practically the same, but
this removes a subtle dependency on kvm_set_cpu_caps() enabling the
relevant CPUID features.
No functional change intended.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Yosry Ahmed <yosry@kernel.org>
Link: https://patch.msgid.link/20260307011619.2324234-3-yosry@kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
