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

vmm: Make gdb break/resuming more resilient #4363

Merged
merged 2 commits into from Jul 26, 2022

Commits on Jul 25, 2022

  1. vmm: Make gdb break/resuming more resilient

    When starting the VM such that it is already on a breakpoint (via
    stop_on_boot) when attached to gdb then start the vCPUs in a paused
    state rather than starting the vCPUs later (upon resume).
    
    Further, make the resumption/break of the VM more resilient by only
    attempting to resume the vCPUs if were are already in a break point and
    only attempting to pause/break if we were already running.
    
    Fixes: cloud-hypervisor#4354
    
    Signed-off-by: Rob Bradford <robert.bradford@intel.com>
    rbradford committed Jul 25, 2022
    Configuration menu
    Copy the full SHA
    cd041a0 View commit details
    Browse the repository at this point in the history
  2. vmm: cpu: Remove now unused CpuManager::vcpus_paused()

    Signed-off-by: Rob Bradford <robert.bradford@intel.com>
    rbradford committed Jul 25, 2022
    Configuration menu
    Copy the full SHA
    6634962 View commit details
    Browse the repository at this point in the history