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

Create Net devices during configuration instead of boot-time #1708

Closed
acatangiu opened this issue Mar 26, 2020 · 0 comments · Fixed by #1735
Closed

Create Net devices during configuration instead of boot-time #1708

acatangiu opened this issue Mar 26, 2020 · 0 comments · Fixed by #1735
Assignees

Comments

@acatangiu
Copy link
Contributor

acatangiu commented Mar 26, 2020

Following the more decoupled design we can now create net devices on their configuration path, rather than saving a config and delaying creation to boot-time.

Such a model allows user-errors (like invalid resources or permissions) to be reported as part of the configuration step rather than later at attempted boot.

It would also remove the time window between configuration and boot where changes to the host system (creating Taps, changing permissions, etc) would cause microVM boot failures (race condition between validation and commitment of resources).

Such a model should also decrease code complexity and should provide better efficiency to the process of configuring and starting a microVM (no more moving configurations around in memory and validating resources both at config time and boot-time).

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 a pull request may close this issue.

1 participant