diff options
author | Isaku Yamahata <isaku.yamahata@intel.com> | 2025-01-29 11:58:54 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-03-14 14:20:54 -0400 |
commit | 81bf912b2c15201ac96ee07042f804d02c0f69ee (patch) | |
tree | 2a80b23504a6f5f2975e78f84cc8b963bdb8cab9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7172c753c26a51c2e2bce922f0c94b62cb2ade46 (diff) |
KVM: TDX: Implement TDX vcpu enter/exit path
Implement callbacks to enter/exit a TDX VCPU by calling tdh_vp_enter().
Ensure the TDX VCPU is in a correct state to run.
Do not pass arguments from/to vcpu->arch.regs[] unconditionally. Instead,
marshall state to/from the appropriate x86 registers only when needed,
i.e., to handle some TDVMCALL sub-leaves following KVM's ABI to leverage
the existing code.
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Message-ID: <20250129095902.16391-6-adrian.hunter@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions