Files
kata-containers/src/libs
James O. D. Hunt b0a3293d53 runtime-rs: ch: Enable Intel TDX
Allow Cloud Hypervisor to create a confidential guest (a TD or
"Trust Domain") rather than a VM (Virtual Machine) on Intel systems
that provide TDX functionality.

> **Notes:**
>
> - At least currently, when built with the `tdx` feature, Cloud Hypervisor
>   cannot create a standard VM on a TDX capable system: it can only create
>   a TD. This implies that on TDX capable systems, the Kata Configuration
>   option `confidential_guest=` must be set to `true`. If it is not, Kata
>   will detect this and display the following error:
>
>   ```
>   TDX guest protection available and must be used with Cloud Hypervisor (set 'confidential_guest=true')
>   ```
>
> - This change expands the scope of the protection code, changing
>   Intel TDX specific booleans to more generic "available guest protection"
>   code that could be "none" or "TDX", or some other form of guest
>   protection.

Fixes: #6448.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2023-09-26 10:55:25 +01:00
..
2023-04-10 09:53:43 +08:00
2023-09-26 10:55:25 +01:00

The src/libs directory hosts library crates which may be shared by multiple Kata Containers components or published to crates.io.

Library Crates

Currently it provides following library crates:

Library Description
logging Facilities to setup logging subsystem based on slog.
system utilities Collection of facilities and helpers to access system services.
types Collection of constants and data types shared by multiple Kata Containers components.
safe-path Utilities to safely resolve filesystem paths.
test utilities Utilities to share test code.