diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-02-13 17:27:02 -0800 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-03-04 08:53:13 -0800 |
| commit | f630de1f8d70d7e29e12bc25dc63f9c5f771dc59 (patch) | |
| tree | 1b7410327e43bd6c753d9853474198b8415de604 /tools/perf/scripts/python | |
| parent | d30372d0b7e637475c79a785d055f4eb8c863656 (diff) | |
KVM: TDX: Fold tdx_bringup() into tdx_hardware_setup()
Now that TDX doesn't need to manually enable virtualization through _KVM_
APIs during setup, fold tdx_bringup() into tdx_hardware_setup() where the
code belongs, e.g. so that KVM doesn't leave the S-EPT kvm_x86_ops wired
up when TDX is disabled.
The weird ordering (and naming) was necessary to allow KVM TDX to use
kvm_enable_virtualization(), which in turn had a hard dependency on
kvm_x86_ops.enable_virtualization_cpu and thus kvm_x86_vendor_init().
Tested-by: Chao Gao <chao.gao@intel.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Tested-by: Sagi Shahar <sagis@google.com>
Link: https://patch.msgid.link/20260214012702.2368778-17-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
