Skip to content

Conversation

@activeshadow
Copy link
Collaborator

fix: update VM snapshot functions to work with mm vm migrate

Description

The minimega vm migrate command was recently updated to generate both a memory state file as well as a disk hdd file. This commit updates the relevant phenix functions that are called to generate and restore VM snapshots to use the new files accordingly.

Related Issue

closes #246

Type of Change

Please select the type of change your pull request introduces:

  • Bugfix
  • New feature
  • Documentation update
  • Other (please describe):

Checklist

  • This PR conforms to the process detailed in the Contributing Guide.
  • I have included no proprietary/sensitive information in my code.
  • I have performed a self-review of my code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have tested my code.

Additional Notes

This PR also relies on minimega PR sandia-minimega/minimega#1587, so once it's merged we can update the minimum minimega version in the relevant config files for this repo.

The minimega `vm migrate` command was recently updated to generate both
a memory state file as well as a disk hdd file. This commit updates the
relevant phenix functions that are called to generate and restore VM
snapshots to use the new files accordingly.
@activeshadow activeshadow self-assigned this Dec 9, 2025
Copy link
Collaborator

@glattercj glattercj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, deleting raw qmp interactions and using native (mm) functions 👍

LGTM

@glattercj
Copy link
Collaborator

@activeshadow sandia-minimega/minimega#1587 merged! Is this still Draft?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] creation of new backing image fails

2 participants