-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
skipped unnecessary kvm_immediate_exits #4388
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4388 +/- ##
=======================================
Coverage 82.02% 82.02%
=======================================
Files 253 253
Lines 31035 31046 +11
=======================================
+ Hits 25456 25467 +11
Misses 5579 5579
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
050bca2
to
59cae55
Compare
f045a54
to
a222eab
Compare
Skipped switches in the presence of run_emulation and VcpuEvent::Resume Signed-off-by: Matias Teragni <mteragni@amazon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alapproved
@@ -16,7 +16,7 @@ use std::{fmt, io, thread}; | |||
use kvm_bindings::{KVM_SYSTEM_EVENT_RESET, KVM_SYSTEM_EVENT_SHUTDOWN}; | |||
use kvm_ioctls::VcpuExit; | |||
use libc::{c_int, c_void, siginfo_t}; | |||
use log::{error, info}; | |||
use log::{error, info, warn}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apple pay
Skipped context switches in the presence of run_emulation and VcpuEvent::Resume if kvm_immediate_exit is set
Changes
run_emulation
if `kvm_immediate_exit is setReason
...
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
CHANGELOG.md
.TODO
s link to an issue.rust-vmm
.