-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Snapshot editor #4045
Snapshot editor #4045
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #4045 +/- ##
==========================================
- Coverage 82.70% 82.37% -0.33%
==========================================
Files 220 224 +4
Lines 28253 28398 +145
==========================================
+ Hits 23366 23393 +27
- Misses 4887 5005 +118
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
491698c
to
8c8570b
Compare
a031d4e
to
f0085ec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, just the changelog could maybe explain a new tool a bit better
27f5609
to
fded9a4
Compare
17df589
to
5bde3be
Compare
f6e2bd5
to
39ee5ef
Compare
Modified snapshot loading code to return version along side the deserialized object. Signed-off-by: Egor Lazarchuk <[email protected]>
These changes (and one in the next commit) are needed to be able to use `MicrovmState::default()`. This is needed to test `snapshot-editor`. Signed-off-by: Egor Lazarchuk <[email protected]>
These changes are needed for `snapshot-editor` (added in next commits) to access internal `vmm` structs. Signed-off-by: Egor Lazarchuk <[email protected]>
After making several modules public in previous commit, we need to add comments to all public members because of `missing_doc` lint that we have. Signed-off-by: Egor Lazarchuk <[email protected]>
c1da82c
to
c6c8b71
Compare
Added snapshot-editor tool with minimal initial functionality. So far it can: - print snapshot version - (aarch64 only) remove registers from vcpu states - (aarch64 only) print registers inside vcpu states Signed-off-by: Egor Lazarchuk <[email protected]>
Added initial documentation for `snapshot-editor` tool. Signed-off-by: Egor Lazarchuk <[email protected]>
Added integration test for `snapshot-editor` to test `remove-regs` functionality. Signed-off-by: Egor Lazarchuk <[email protected]>
Added `snapshot-editor` to the CHANGELOG Signed-off-by: Egor Lazarchuk <[email protected]>
c6c8b71
to
3319a27
Compare
Changes
Added initial version of
snapshot-editor
tool.Initial functionality is:
License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following
Developer Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md
.PR Checklist
CHANGELOG.md
.TODO
s link to an issue.rust-vmm
.