Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/virtee/tdx
Rust library for Intel TDX
https://github.com/virtee/tdx
Last synced: 25 days ago
JSON representation
Rust library for Intel TDX
- Host: GitHub
- URL: https://github.com/virtee/tdx
- Owner: virtee
- License: apache-2.0
- Created: 2024-01-18T19:07:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-17T18:38:59.000Z (about 1 month ago)
- Last Synced: 2024-12-17T19:35:22.617Z (about 1 month ago)
- Language: Rust
- Size: 1.21 MB
- Stars: 21
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Workflow Status](https://github.com/virtee/tdx/workflows/test/badge.svg)](https://github.com/virtee/tdx/actions?query=workflow%3A%22test%22)
[![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/virtee/tdx.svg)](https://isitmaintained.com/project/virtee/tdx "Average time to resolve an issue")
[![Percentage of issues still open](https://isitmaintained.com/badge/open/virtee/tdx.svg)](https://isitmaintained.com/project/virtee/tdx "Percentage of issues still open")
![Maintenance](https://img.shields.io/badge/maintenance-activly--developed-brightgreen.svg)# tdx
The `tdx` crate provides an implementation of APIs for [Intel Trusted Domain eXtensions (TDX)](https://www.intel.com/content/www/us/en/developer/tools/trust-domain-extensions/documentation.html).
### TDX APIs
The Linux kernel exposes APIs for managing TDX-enabled KVM virtual machines
This crate implements those APIs and offers them to Rust client code through a
flexible and type-safe high-level interface.### TDX KVM VM APIs
Refer to the [`vm`] module for more information.
### TDX KVM vCPU APIs
Refer to the [`vcpu`] module for more information.
### Remarks
Note that the Linux kernel provides access to these APIs through a set
of `ioctl`s that are meant to be called on the `/dev/kvm` device node.
As a result, these `ioctl`s form the substrate of the `tdx` crate.
Binaries that result from consumers of this crate are expected to run as
a process with the necessary privileges to interact with the device nodes.[`vm`]: ./src/vm/
[`vcpu`]: ./src/vcpu/License: Apache-2.0