hyperlight-dev / hyperlight-dev/hyperlight

Remove reliance on `out`'s value.

Aberta
#477 0 comentários 0 reações 2 responsáveis Reivindicada por @dblnz Ver no GitHub
lifecycle/confirmed
Linguagem predominante
Rust
Estrelas
4.7k
Forks
210
Merge médio
1d 7h
PRs com merge (30d)
48

Descrição

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`.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.