[SRU][N][PATCH 0/2] x86/vmware: Add TDX hypercall support

Thibault Ferrante thibault.ferrante at canonical.com
Fri Aug 30 09:45:38 UTC 2024


BugLink: https://bugs.launchpad.net/bugs/2077729

[ Impact ]

VMware hypercalls use I/O port, VMCALL or VMMCALL instructions.
Add __tdx_hypercall path to support TDX guests.

[ Fix ]

Part of 6.11.
Require a another upstream commit.
Clean cherry-pick from upstream:
- 34bf25e820a x86/vmware: Introduce VMware hypercall API
- 57b7b6acb41 x86/vmware: Add TDX hypercall support

[ Test Plan ]

Compiled.

[ Where problems could occur ]

 Only added new interfaces, may change VM behavior related to VMware.

Alexey Makhalov (2):
  x86/vmware: Introduce VMware hypercall API
  x86/vmware: Add TDX hypercall support

 arch/x86/include/asm/vmware.h | 324 ++++++++++++++++++++++++++++++++--
 arch/x86/kernel/cpu/vmware.c  | 122 ++++++++++++-
 2 files changed, 424 insertions(+), 22 deletions(-)

-- 
2.43.0




More information about the kernel-team mailing list