Skip to content

Move to vanilla firecracker snapshots #794

@CuriousGeorgiy

Description

@CuriousGeorgiy

Currently, we have our own custom implementation of snapshots for firecracker, but it would be highly desirable to move to vanilla firecracker snapshots.

Firecracker supports snapshots since v0.23.0 1, they are also supported in the firecracker-go-sdk since v1.0.0 2. microVM snapshots are not supported in firecracker-containerd, so we need to patch it to support snapshot-restore requests.

Firecracker snapshots have a limitation on resource names during snapshot loading, which is not compatible with container snapshot mounts, so we will need to patch it, by adding a parameter to the snapshot loading request for the new container snapshot's path. We will also need to patch the firecracker-go-sdk to forward this new request parameter. See also firecracker-microvm/firecracker#4014 for details.

Footnotes

  1. https://github.com/firecracker-microvm/firecracker/releases/tag/v0.23.0

  2. https://github.com/firecracker-microvm/firecracker-go-sdk/releases/tag/v1.0.0

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions