Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: full io virtualization #7

Merged
merged 1 commit into from
Jul 29, 2023
Merged

fix: full io virtualization #7

merged 1 commit into from
Jul 29, 2023

Conversation

guybedford
Copy link
Collaborator

This updates the FS virtualization to instead be a comprehensive IO virtualization layer.

The reason for this is that as soon as streams and poll are virtualized, we need to virtualize all streams and polls since we cannot union with host streams and polls for passthrough unless we do indirect virtualization.

New stream and file descriptor types are introduced for host reference mappings, with the pass through interfaces updated.

This adds support for stdio and exit subsystems as well, assuming a reactor model so that exit becomes a panic. Stdio configuration is only ignore or allow currently, but we could support custom stream targets in future.

This PR should resolve the bug in #6 (comment), and is a step towards full virtualization encapsulation as well.

@guybedford guybedford merged commit 107da15 into main Jul 29, 2023
2 checks passed
@guybedford guybedford deleted the stdio branch July 29, 2023 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant