Skip to content

Add PauseVM and ResumeVM support #460

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 4 commits into from
Feb 19, 2021

Conversation

plamenmpetrov
Copy link
Contributor

The goal of this PR is to implement support for PauseVM and ResumeVM.

Authored by @plamenmpetrov and @ustiugov

We are open to feedback and would be glad to finalize and contribute this code to upstream.

Issue #, if available:
#448
Description of changes:

  • Update firecracker-go-sdk to a version which supports PauseVM and ResumeVM.
  • Update build procedure for tc-redirect-tap, which is no longer part of the Go SDK
  • Implement calls to PauseVM and ResumeVM

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@plamenmpetrov plamenmpetrov force-pushed the pause_resume branch 2 times, most recently from 2fdd111 to cfa6dcc Compare November 20, 2020 16:15
@kzys
Copy link
Contributor

kzys commented Nov 24, 2020

Looks good to me! Can you add an integration test that pauses and resumes a VM?

@ustiugov
Copy link
Contributor

it seems that the buildkite failure is not related to the patch. how can I re-run the test?

@kzys
Copy link
Contributor

kzys commented Jan 20, 2021

Let me take a look. Right now only maintainers can restart tests.

@ustiugov ustiugov force-pushed the pause_resume branch 2 times, most recently from 593dc36 to 0508a7b Compare February 16, 2021 17:31
@ustiugov
Copy link
Contributor

@kzys we added the necessary tests, could you please take another look?

@kzys
Copy link
Contributor

kzys commented Feb 18, 2021

Looks good to me. I think the build errors are related to #475, not your changes.

@kzys
Copy link
Contributor

kzys commented Feb 19, 2021

I've merged #475. Can you rebase this PR against master? This should fix GitHub Actions failures at least.

plamenmpetrov and others added 3 commits February 19, 2021 14:14
Signed-off-by: Plamen Petrov <plamb0brt@gmail.com>
Signed-off-by: Plamen Petrov <plamb0brt@gmail.com>
Signed-off-by: Dmitrii Ustiugov <dmitrii.ustiugov@ed.ac.uk>
Signed-off-by: Plamen Petrov <plamb0brt@gmail.com>
@kzys kzys merged commit 9054e22 into firecracker-microvm:master Feb 19, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants