hyperlight-dev / hyperlight-dev/hyperlight

Guest debugging improvements

未关闭
#501 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
lifecycle/blocked-on-author
主要语言
Rust
星标
4.7k
派生
208
平均合并
1 天 7 小时
30 天内合并 PR
47

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。