diff options
author | Isaku Yamahata <isaku.yamahata@intel.com> | 2025-01-29 11:58:55 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-03-14 14:20:54 -0400 |
commit | 81bf40d54cd56e33b4cd381cc719efaa53832468 (patch) | |
tree | f7b17c6efd1e57ba6d23178785e1f29dc9d4c083 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 81bf912b2c15201ac96ee07042f804d02c0f69ee (diff) |
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 <isaku.yamahata@intel.com>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20250129095902.16391-7-adrian.hunter@intel.com>
Reviewed-by: Xiayao Li <xiaoyao.li@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