-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Maintenance 3 #5557
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
base: main
Are you sure you want to change the base?
Maintenance 3 #5557
Conversation
ae25a1d to
ed4d917
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #5557 +/- ##
==========================================
- Coverage 83.24% 83.22% -0.02%
==========================================
Files 277 277
Lines 29263 29282 +19
==========================================
+ Hits 24359 24370 +11
- Misses 4904 4912 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ba3cd70 to
694289e
Compare
694289e to
a0966ff
Compare
Replace fmt.toml with new rustfmt.toml Signed-off-by: Egor Lazarchuk <[email protected]>
Fix new clippy warnings Signed-off-by: Egor Lazarchuk <[email protected]>
Instead of using `u32` values directly from generated `virtio_ids` create an enum backed by u8 with all types we actually use Signed-off-by: Egor Lazarchuk <[email protected]>
Add a trait method to VirtioDevice to get a unique device id. This can be used in default imps of some other methods to print current device id in case of an error/warning etc. Signed-off-by: Egor Lazarchuk <[email protected]>
Replace different `kick` implementations with a default implementation in the `VirtioDevice` trait. Change the `kick` logic to just re-trigger queue events instead of manually calling different internal queue processing functions. Signed-off-by: Egor Lazarchuk <[email protected]>
a0966ff to
6587ebb
Compare
|
|
||
| /// Kick the device, as if it had received external events. | ||
| fn kick(&mut self) {} | ||
| fn kick(&mut self) { |
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.
Do we want a test to ensure they are kicked?
Changes
u32virtio device type with actualVirtioDeviceTypeenumidmethod toVirtioDevicetraitkickmethod inVirtioDevicetrait that re-triggers queue eventfds instead ofdoing manual queue reprocessing
Reason
Maintenance
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
tools/devtool checkbuild --allto verify that the PR passesbuild checks on all supported architectures.
tools/devtool checkstyleto verify that the PR passes theautomated style checks.
how they are solving the problem in a clear and encompassing way.
in the PR.
CHANGELOG.md.Runbook for Firecracker API changes.
integration tests.
TODO.rust-vmm.