hyperlight-dev / hyperlight-dev/hyperlight

Guest debugging improvements

Aperta
#501 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
lifecycle/blocked-on-author
Lingua principale
Rust
Stelle
4.7k
Fork
208
Merge medio
1g 7h
PR unite (30g)
47

Descrizione

## Description
This issue describes some improvements that can be done for the Hyperlight guest debugging feature.

1. We should analyze the way the virtual addresses are translated.
Currently, we translate all addresses using `translate_gva` and the fact that the page tables are set up in such a way that the virtual addresses are the same as physical addresses makes this work.
However, we should correctly translate where needed to avoid issues when the page tables would be modified.
An example we should consider: [link](https://github.com/hyperlight-dev/hyperlight/blob/main/src/hyperlight_host/src/hypervisor/gdb/kvm_debug.rs#L117)
2. Analyze what happens if a small OS having tasks is run as a guest. Is debugging still working properly?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.