KVM: TDX: Add methods to ignore accesses to TSC
authorIsaku Yamahata <isaku.yamahata@intel.com>
Thu, 27 Feb 2025 01:20:16 +0000 (09:20 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Mar 2025 18:20:57 +0000 (14:20 -0400)
commitcf5f3668c58c34030eadc9f3c8c228a302cd5f67
tree72bf2f82c83be0003b3c3a10736deb4d251c63d6
parenta946c71cf86bd5eb16e57bb03997b54ef8dd15d5
KVM: TDX: Add methods to ignore accesses to TSC

TDX protects TDX guest TSC state from VMM.  Implement access methods to
ignore guest TSC.

Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Signed-off-by: Binbin Wu <binbin.wu@linux.intel.com>
Message-ID: <20250227012021.1778144-16-binbin.wu@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/main.c