hyperlight-dev / hyperlight-dev/hyperlight

Remove reliance on `out`'s value.

Abierto
#477 0 comentarios 0 reacciones 2 asignados Reclamado por @dblnz 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

We should modify the `Abort` and `DebugPrint` `OutBAction`s to no longer rely on the value from `out`. Particularly, we should only rely on `out` to cause a VM exit and not on specifics of the mechanism. This will be helpful for the future when we add support other architectures that may not have `out` (e.g., ARM) and we need to change our doorbell mechanism. An alternate implementation for `Abort` and `DebugPrint` would be to pass a Hypervisor to the outb handler and retrieve registers values from the guest with info, which should be easy to do once #312 is merged.

> Note: We should also change the naming from `outb` to `out`.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.