aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorKuppuswamy Sathyanarayanan <[email protected]>2022-11-16 14:38:19 -0800
committerDave Hansen <[email protected]>2022-11-17 11:04:23 -0800
commit6c8c1406a6d6a3f2e61ac590f5c0994231bc6be7 (patch)
treead14b7d721bababb8e11439738c8d4ef6e1b17f5 /scripts/generate_rust_analyzer.py
parent51acfe89af1118f906f9b68d95fdfb22832ac960 (diff)
virt: Add TDX guest driver
TDX guest driver exposes IOCTL interfaces to service TDX guest user-specific requests. Currently, it is only used to allow the user to get the TDREPORT to support TDX attestation. Details about the TDX attestation process are documented in Documentation/x86/tdx.rst, and the IOCTL details are documented in Documentation/virt/coco/tdx-guest.rst. Operations like getting TDREPORT involves sending a blob of data as input and getting another blob of data as output. It was considered to use a sysfs interface for this, but it doesn't fit well into the standard sysfs model for configuring values. It would be possible to do read/write on files, but it would need multiple file descriptors, which would be somewhat messy. IOCTLs seem to be the best fitting and simplest model for this use case. The AMD sev-guest driver also uses the IOCTL interface to support attestation. [Bagas Sanjaya: Ack is for documentation portion] Signed-off-by: Kuppuswamy Sathyanarayanan <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Reviewed-by: Bagas Sanjaya <[email protected]> Reviewed-by: Tony Luck <[email protected]> Reviewed-by: Mika Westerberg <[email protected]> Acked-by: Kai Huang <[email protected]> Acked-by: Kirill A. Shutemov <[email protected]> Acked-by: Wander Lairson Costa <[email protected]> Link: https://lore.kernel.org/all/20221116223820.819090-3-sathyanarayanan.kuppuswamy%40linux.intel.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions