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

Update migration protocol to negotiate device version payloads #614

Open
gjcolombo opened this issue Jan 22, 2024 · 0 comments
Open

Update migration protocol to negotiate device version payloads #614

gjcolombo opened this issue Jan 22, 2024 · 0 comments
Labels
migration Issues related to live migration.
Milestone

Comments

@gjcolombo
Copy link
Contributor

The Propolis library's migration framework supports composable versioned payloads through the PayloadOffer and PayloadOutput types in propolis::migrate. In this scheme, each chunk of migration data has a "kind" and a version, and each Propolis component (device or backend) can export one or more chunks. Because chunks are versioned independently, we can bump the version of a common subcomponent (e.g. the virtio state exported by all virtio devices) without having to re-version all of the independent versions that contain it.

Today the migration protocol has no affordance for the source and destination to agree on the component versions the source should send. (Note that it's not a given that the destination understands more versions than the source, since the migration may be a downgrade.) The protocol should include this, probably as part of the "preamble" phase that otherwise determines whether a migration from the source to the target will be accepted.

@gjcolombo gjcolombo added the migration Issues related to live migration. label Jan 22, 2024
@morlandi7 morlandi7 added this to the MVP milestone Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
migration Issues related to live migration.
Projects
None yet
Development

No branches or pull requests

2 participants