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

[WIP] fix(vmm): call KVMCLOCK_CTRL when pausing #4460

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kalyazin
Copy link
Contributor

Changes

Call KVM_KVMCLOCK_CTRL when pausing. Related: #1859
TODO (if merging): update changelog
TODO (if merging): doc update

Reason

This is to avoid guest kernel panic on resume path due to softlockup detection.

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

  • If a specific issue led to this PR, this PR closes the issue.
  • The description of changes is clear and encompassing.
  • Any required documentation changes (code and docs) are included in this
    PR.
  • [ ] API changes follow the Runbook for Firecracker API changes.
  • User-facing changes are mentioned in CHANGELOG.md.
  • All added/changed functionality is tested.
  • [ ] New TODOs link to an issue.
  • Commits meet
    contribution quality standards.

  • This functionality cannot be added in rust-vmm.

Copy link

codecov bot commented Feb 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c403628) 81.54% compared to head (a8ad920) 81.56%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4460      +/-   ##
==========================================
+ Coverage   81.54%   81.56%   +0.02%     
==========================================
  Files         243      243              
  Lines       29542    29549       +7     
==========================================
+ Hits        24089    24102      +13     
+ Misses       5453     5447       -6     
Flag Coverage Δ
4.14-c5n.metal 78.86% <100.00%> (?)
4.14-c7g.metal ?
4.14-m5d.metal ?
4.14-m5n.metal 78.85% <100.00%> (?)
4.14-m6a.metal 77.98% <100.00%> (-0.01%) ⬇️
4.14-m6g.metal 76.96% <100.00%> (+<0.01%) ⬆️
4.14-m6i.metal 78.84% <100.00%> (-0.01%) ⬇️
4.14-m7g.metal 76.96% <100.00%> (?)
5.10-c5n.metal 81.52% <100.00%> (?)
5.10-c7g.metal ?
5.10-m5d.metal ?
5.10-m5n.metal 81.51% <100.00%> (?)
5.10-m6a.metal 80.74% <100.00%> (-0.01%) ⬇️
5.10-m6g.metal 79.86% <100.00%> (+<0.01%) ⬆️
5.10-m6i.metal 81.51% <100.00%> (-0.01%) ⬇️
5.10-m7g.metal 79.86% <100.00%> (?)
6.1-c5n.metal 81.52% <100.00%> (?)
6.1-c7g.metal ?
6.1-m5d.metal ?
6.1-m5n.metal 81.51% <100.00%> (?)
6.1-m6a.metal 80.74% <100.00%> (-0.01%) ⬇️
6.1-m6g.metal 79.86% <100.00%> (+<0.01%) ⬆️
6.1-m6i.metal 81.51% <100.00%> (-0.01%) ⬇️
6.1-m7g.metal 79.86% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kalyazin kalyazin force-pushed the dbg_kvmclock branch 2 times, most recently from a98e231 to 3294d86 Compare February 19, 2024 15:49
This is to avoid guest kernel panic on resume path
due to softlockup detection.

Signed-off-by: Nikita Kalyazin <kalyazin@amazon.com>
This is to be able to call KVMCLOCK_CTRL ioctl in
a vCPU thread.

Signed-off-by: Nikita Kalyazin <kalyazin@amazon.com>
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.

None yet

1 participant