Skip to content

Allow configuration of guest trace storage #1008

@dblnz

Description

@dblnz

Description

Currently, we have a fixed capacity 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.

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomershelp-wantedThe issue could use external help.lifecycle/confirmedBug is verified or proposal seems reasonable

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions