hyperlight-dev / hyperlight-dev/hyperlight

Allow configuration of guest trace storage

Offen
#1,008 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @dblnz Auf GitHub ansehen
good first issue help-wanted lifecycle/confirmed
Vorherrschende Sprache
Rust
Sterne
4.7k
Forks
208
Ø Merge
1 T. 7 Std.
Gemergte PRs (30 T.)
47

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.