Tracking issue: Reintroduce Intel TDX support
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
Línea de trabajo
This is a tracking issue with no single change to pick up. Read the linked roadmap and PR #9488 first to understand the planned VmConfig and PlatformConfig refactor; the issue also lists shared page handling, KVM_HC_MAP_GPA_RANGE, guest_memfd, and TDX guest boot as later steps. A contribution is complete when its specific roadmap item is implemented and validated, but the issue does not name the relevant files or tests.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Elevator pitch
We at Cyberus Technology are working on reintroducing TDX support to Cloud Hypervisor. This issue is intended to track our progress and provide a high-level roadmap to help the community understand how our individual PRs contribute to this goal.
Motivation
We have customers interested in TDX support in Cloud Hypervisor and are also collaborating with Intel on this effort.
Prior art
- Cloud Hypervisor previously supported TDX, but support was removed due to a lack of maintenance.
- There was a PR in August to align TDX support to Linux 6.16, which was rejected and we are not building upon.
- Intel provided sample code targeting Cloud Hypervisor v51.
API/CLI
Yes, new API and CLI parameters will be required. We will discuss them in detail with the community and maintainers in the respective PRs.
Testing
We will need a dedicated TDX-enabled CI runner, which we are currently organizing. Updates will follow.
Interactions
TDX requires special handling of features such as hotplug and live migration, as these operations involve interactions with the TDX module for TDX guests. While some common code will be refactored, we aim to preserve the existing behavior of other VM types.
Implementation
We have a working port of Intel's sample code to Cloud Hypervisor v54.
While this port serves as a proof of concept rather than a production-quality implementation, it provides a clear direction for a working implementation.
For the actual implementation, we aim to follow an upstream-first approach wherever possible. Since this involves substantial refactoring, we want to coordinate with the community as early as possible. Larger changes will undergo internal review first, with the work being publicly available in our fork: https://github.com/cyberus-technology/cloud-hypervisor/tree/cyberus-confidential-computing
Full feature description
If you are interested in TDX support or are already working on it, we encourage you to participate in the discussion and coordinate efforts
in this issue.
For now, we are following this high-level roadmap:
- Align rust-vmm with the new Linux Kernel interfaces of TDX
- Refactor the
HypervisorVmConfigandPlatformConfigtypes to accommodate different CoCo implementations. - Refactor the SEV-SNP shared page handler so that it can be reused by at least all x86 CoCo implementations.
- Unify the handling of the
KVM_HC_MAP_GPA_RANGEhypercall for SEV-SNP and TDX. - Refactor the use of
guest_memfdto accommodate different CoCo implementations. - Implement the TDX-specific functionality required to boot a TDX guest.
- Lenguaje dominante
- Rust
- Estrellas
- 6.3k
- Forks
- 786
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 195
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de cloud-hypervisor/cloud-hypervisor
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
cloud-hypervisor/cloud-hypervisor#9562 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
cloud-hypervisor/cloud-hypervisor#9553 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
cloud-hypervisor/cloud-hypervisor#9551 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 46/100
cloud-hypervisor/cloud-hypervisor#9550 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 67/100
cloud-hypervisor/cloud-hypervisor#9512 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de cloud-hypervisor/cloud-hypervisor
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Choochmeque/tauri-plugin-webdriver#134 ·
Los mantenedores suelen responder en 17 días
-
bug(c-sdk): boxlite_box_exec does not check runtime liveness before dispatching streaming execAbiertobug rust SDK & CLI & REST API
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
boxlite-ai/boxlite#3292 ·
Los mantenedores suelen responder en 1 día
-
Android bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
anefzaoui/misterdownloadmanager#2516 ·
Los mantenedores suelen responder en 1 día
-
editor ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
state:triage tech-debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 89/100
agent8-cash/ethpayserver#731 ·
Los mantenedores suelen responder en 1 día