aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/vmalloc.c
diff options
context:
space:
mode:
authorIsaku Yamahata <[email protected]>2025-01-29 09:58:54 +0000
committerPaolo Bonzini <[email protected]>2025-03-14 18:20:54 +0000
commit81bf912b2c15201ac96ee07042f804d02c0f69ee (patch)
tree2a80b23504a6f5f2975e78f84cc8b963bdb8cab9 /rust/helpers/vmalloc.c
parentKVM: VMX: Move common fields of struct vcpu_{vmx,tdx} to a struct (diff)
downloadkernel-81bf912b2c15201ac96ee07042f804d02c0f69ee.tar.gz
kernel-81bf912b2c15201ac96ee07042f804d02c0f69ee.zip
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 <[email protected]> Signed-off-by: Adrian Hunter <[email protected]> Message-ID: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions