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

LoadSnapshot #395

Closed
wants to merge 6 commits into from
Closed

LoadSnapshot #395

wants to merge 6 commits into from

Commits on Oct 22, 2021

  1. add load snapshot implementation

    This commit adds implementation for the LoadSnapshot API call.
    
    Signed-off-by: Gabriel Ionescu <gbi@amazon.com>
    Signed-off-by: Gabriel Ionescu <plp.github@gmail.com>
    Gabriel Ionescu authored and gbionescu committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    4af1b25 View commit details
    Browse the repository at this point in the history
  2. extend machine start to support snapshots

    By adding functional options to Start(), we can call Start() with the
    WithSnapshot parameter to load a snapshot before starting.
    
    Signed-off-by: Gabriel Ionescu <gbi@amazon.com>
    Signed-off-by: Gabriel Ionescu <plp.github@gmail.com>
    Gabriel Ionescu authored and gbionescu committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    2b31035 View commit details
    Browse the repository at this point in the history
  3. test: add test for LoadSnapshot

    Test the LoadSnapshot functionality by creating a snapshot and loading
    it immediately.
    
    Signed-off-by: Gabriel Ionescu <gbi@amazon.com>
    Signed-off-by: Gabriel Ionescu <plp.github@gmail.com>
    Gabriel Ionescu authored and gbionescu committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    bf7ba8f View commit details
    Browse the repository at this point in the history
  4. fix spacing in machine.go and machine_test.go

    Signed-off-by: Gabriel Ionescu <gbi@amazon.com>
    Signed-off-by: Gabriel Ionescu <plp.github@gmail.com>
    Gabriel Ionescu authored and gbionescu committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    ff57c09 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2022

  1. Merge branch 'demo_branch2'

    This commit merges firecracker-microvm#348 from Gabriel Ionescu as is.
    
    Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
    kzys committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    5615e55 View commit details
    Browse the repository at this point in the history
  2. Hide LoadSnapshot from Machine

    We should not expose LoadSnapshot, since it is allowed only before boot.
    
    Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
    kzys committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    c7c0177 View commit details
    Browse the repository at this point in the history