-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: refactor instance initialization (#715)
Refactor propolis-server to prepare for more work on instance specs and the live migration protocol. Specifically: * Make the VM state driver task async and execute live migration directly from it (instead of on a second task) * Initialize migration targets' VM components during the migration process, not before it (so that input from the migration protocol can be used to determine what components to initialize) * Move VM objects and configuration under a single lock as prophylaxis against torn reads * Remove the state machine from the Dropshot server layer * Generally clean up the complicated `vm` module, moving its many types and associated functions into smaller submodules for readability Tested via cargo tests & PHD.
- Loading branch information
Showing
32 changed files
with
3,638 additions
and
3,753 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.