Dexuan Cui 08e9d12077 x86/hyperv: Add hv_isolation_type_tdx() to detect TDX guests
No logic change to SNP/VBS guests.

hv_isolation_type_tdx() will be used to instruct a TDX guest on Hyper-V to
do some TDX-specific operations, e.g. for a fully enlightened TDX guest
(i.e. without the paravisor), hv_do_hypercall() should use
__tdx_hypercall() and such a guest on Hyper-V should handle the Hyper-V
Event/Message/Monitor pages specially.

Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Reviewed-by: Tianyu Lan <tiala@microsoft.com>
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Link: https://lore.kernel.org/r/20230824080712.30327-2-decui@microsoft.com
2023-08-25 00:04:56 +00:00
..
2022-02-25 09:36:06 +01:00
2023-02-13 22:13:29 +01:00
2017-11-15 13:28:48 -08:00
2023-05-18 11:07:54 +02:00
2021-12-11 23:31:51 +01:00
2022-08-04 15:10:55 -07:00
2020-01-23 10:41:16 -08:00
2022-07-22 17:34:57 -05:00
2022-05-26 10:50:30 -07:00
2022-02-25 09:36:06 +01:00