-
Notifications
You must be signed in to change notification settings - Fork 100
Description
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.