Skip to content

Instantly share code, notes, and snippets.

@sameo
Last active November 19, 2019 09:24
Show Gist options
  • Save sameo/214ab372031419c86eed2ddbaa5d1304 to your computer and use it in GitHub Desktop.
Save sameo/214ab372031419c86eed2ddbaa5d1304 to your computer and use it in GitHub Desktop.

Terminology

  • Migratable Component: A VMM component that declares itself as migratable. Examples of migratable component: A virtio device, a vCPU, RAM, etc.

  • Migratable Component State: A migratable component state...

  • Migrator

HTTP API

  • /api/v1/vm.pause
  • /api/v1/vm.resume
  • /api/v1/vm.snapshot
  • /api/v1/vm.restore

Internal API

MigrationRegister (Migratable Component -> Migration thread)

For any component to register itself against the VMM as migratable.

Snapshot (Migration thread -> Migratable Component)

For the migration thread to fetch a migratable component state. It is up to the migration thread to aggregate all states into a state store.

``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment