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

Print MicrovmState from vmstate file of snapshot #4205

Merged
merged 5 commits into from
Nov 1, 2023

Commits on Nov 1, 2023

  1. chore: improve debug print of VcpuState

    Sort VcpuState.saved_msrs by 1st the nmsrs & 2nd by pad field
    so that we get a better diff of MicrovmState of 2 or more snapshots.
    
    Signed-off-by: Sudan Landge <sudanl@amazon.com>
    Sudan Landge committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    2c40d3f View commit details
    Browse the repository at this point in the history
  2. feat(snapshot-editor): add option to print MircomState

    Add subcommand in InfoVmStateSubCommand to print the VmState.
    The output of this command can be used to diff between 2 different
    snapshot files.
    
    Signed-off-by: Sudan Landge <sudanl@amazon.com>
    Sudan Landge committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    5fe2f22 View commit details
    Browse the repository at this point in the history
  3. doc(snapshot-editor): Add steps to use vm-states subcommand

    Add steps on how to use the new subcommand to print
    vmstate in human readable format.
    Improve readability of subcommand sections.
    
    Signed-off-by: Sudan Landge <sudanl@amazon.com>
    Sudan Landge committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    719dd6f View commit details
    Browse the repository at this point in the history
  4. chore: make info_vcpu_states be available on x86

    Since x86 now has vcpu states printable, make
    info_vcpu_states available on x86 as well.
    
    Signed-off-by: Sudan Landge <sudanl@amazon.com>
    Sudan Landge committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    b211956 View commit details
    Browse the repository at this point in the history
  5. changelog: Update new commands available in snapshot-editor

    Update CHANGELOG to publish addition of new command to print
    MicrovmState from vmstate snapshot files and that vcpu-states
    is now available on X86_64 as well.
    
    Signed-off-by: Sudan Landge <sudanl@amazon.com>
    Sudan Landge committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    74519f9 View commit details
    Browse the repository at this point in the history