hyperlight-dev / hyperlight-dev/hyperlight

Guest debugging improvements

Open
#501 0 comments 0 reactions 0 assignees View on GitHub
lifecycle/blocked-on-author
Dominant language
Rust
Stars
4.7k
Forks
208
Avg merge
1d 7h
Merged PRs (30d)
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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.