hyperlight-dev / hyperlight-dev/hyperlight
Allow configuration of guest trace storage
未关闭
good first issue
help-wanted
lifecycle/confirmed
- 主要语言
- Rust
- 星标
- 4.7k
- 派生
- 208
- 平均合并
- 1 天 7 小时
- 30 天内合并 PR
- 47
描述
## Description
Currently, we have a [fixed capacity](https://github.com/hyperlight-dev/hyperlight/blob/main/src/hyperlight_guest_tracing/src/state.rs#L52) for the `Vec` that stores the guest tracing events.
We want to allow the guest to configure the maximum space allowed to be allocated for the traces.
## Rationale
`Hyperlight` does not know the guest's memory use constraints, hence allowing a guest to configure its preference at runtime, gives flexibility to the users.
## How
One option would be to use a weak symbol in the guest, for which `hyperlight` provides a `default` implementation.
贡献指南
评估
这个 Issue 还没有评估数据。