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

Implement hypervisor specific pause/resume API #6441

Merged

Commits on May 8, 2024

  1. hypervisor: Add pause/resume definitions to VM trait

    Add Pause/Resume functions for VM trait. For KVM it
    will be empty implementations. For MSHV it needs to freeze
    and unfreeze the partition.
    
    Signed-off-by: Muminul Islam <muislam@microsoft.com>
    russell-islam committed May 8, 2024
    Configuration menu
    Copy the full SHA
    1dac5c7 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. hypervisor: implement pause/resume API for MSHV

    Implementing pause/Resume API for MSHV.
    Here we set/reset the partition property(TIME_FREEZE)
    
    Signed-off-by: Muminul Islam <muislam@microsoft.com>
    russell-islam committed May 9, 2024
    Configuration menu
    Copy the full SHA
    d8b0145 View commit details
    Browse the repository at this point in the history
  2. hypervisor: always create a frozen partition

    Create a partition frozen always, then unfreeze the partition
    during boot phase or resume phase. We also freeze the
    partition during pause event. Time is freeze during the
    time between freeze and unfreeze.
    
    Signed-off-by: Muminul Islam <muislam@microsoft.com>
    russell-islam committed May 9, 2024
    Configuration menu
    Copy the full SHA
    c973524 View commit details
    Browse the repository at this point in the history
  3. vmm: pause/resume VM during the VM events

    For MSHV we always create frozen partition, so we
    resume the VM during boot. Also during pause and resume
    VM events we call hypervisor specific API.
    
    Signed-off-by: Muminul Islam <muislam@microsoft.com>
    russell-islam committed May 9, 2024
    Configuration menu
    Copy the full SHA
    0461c30 View commit details
    Browse the repository at this point in the history