hyperlight-dev / hyperlight-dev/hyperlight

Guest debugging improvements

Ouverte
#501 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
lifecycle/blocked-on-author
Langage dominant
Rust
Étoiles
4.7k
Forks
208
Merge moyen
1 j 7 h
PR mergées (30 j)
47

Description

## 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?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.