diff options
| author | Isaku Yamahata <[email protected]> | 2025-01-29 09:58:55 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2025-03-14 18:20:54 +0000 |
| commit | 81bf40d54cd56e33b4cd381cc719efaa53832468 (patch) | |
| tree | f7b17c6efd1e57ba6d23178785e1f29dc9d4c083 /rust/helpers/vmalloc.c | |
| parent | KVM: TDX: Implement TDX vcpu enter/exit path (diff) | |
| download | kernel-81bf40d54cd56e33b4cd381cc719efaa53832468.tar.gz kernel-81bf40d54cd56e33b4cd381cc719efaa53832468.zip | |
KVM: TDX: vcpu_run: save/restore host state(host kernel gs)
On entering/exiting TDX vcpu, preserved or clobbered CPU state is different
from the VMX case. Add TDX hooks to save/restore host/guest CPU state.
Save/restore kernel GS base MSR.
Signed-off-by: Isaku Yamahata <[email protected]>
Signed-off-by: Adrian Hunter <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Xiayao Li <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions
