diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-03-10 16:48:19 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-04-08 16:04:27 -0700 |
| commit | e353f1beeda3e7037f192235d5bd6abffacb49f6 (patch) | |
| tree | c223c1e2e10b0731e897f7b50ac12bfce2b7115a /tools/perf/scripts/python/stackcollapse.py | |
| parent | 7341500f8b8624616f3760206765b1ea01e2b849 (diff) | |
KVM: SEV: Move SEV-specific VM initialization to sev.c
Move SEV+ VM initialization to sev.c (as sev_vm_init()) so that
kvm_sev_info (and all usage) can be gated on CONFIG_KVM_AMD_SEV=y without
needing more #ifdefs. As a bonus, isolating the logic will make it easier
to harden the flow, e.g. to WARN if the vm_type is unknown.
No functional change intended (SEV, SEV_ES, and SNP VM types are only
supported if CONFIG_KVM_AMD_SEV=y).
Link: https://patch.msgid.link/20260310234829.2608037-12-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
