hyperlight-dev / hyperlight-dev/hyperlight

Factor out handling of architecture-dependent snapshot state

Abierto
#1,694 0 comentarios 0 reacciones 0 asignados Ver en GitHub
lifecycle/confirmed
Lenguaje dominante
Rust
Estrellas
4.7k
Forks
208
Merge medio
1 d 7 h
PR fusionados (30 d)
47

Descripción

Currently, there are no architecture-dependent hooks that can add things to snapshot/restore state. Because of this, as of #991, all of the ostensibly architecture-independent code on the snapshot save/restore path ends up with a bunch of `#[cfg(target_arch = "x86_64")]` state threaded through it. It would be nice to factor that out into something that makes it easier to add architecture-dependent state.

(This issue extracted from a comment on #991: https://github.com/hyperlight-dev/hyperlight/pull/991/changes#r3625046429)

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start with the snapshot save/restore path discussed in issue #1694 and the extracted context from pull request #991. Trace where #[cfg(target_arch = "x86_64")] state is threaded through architecture-independent code, then identify the hooks needed for architecture-dependent snapshot state. Done means the existing behavior is preserved while future architecture-specific state can be added without repeating that threading.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
rust
Área
operating-systems
Tipo de issue
Refactorización
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.