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

Fix TSC frequency. #871

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

Fix TSC frequency. #871

wants to merge 8 commits into from

Conversation

jounathaen
Copy link
Member

Unfortunately, fixing this requires a complete refactoring of the current code, as we need present vcpus to query KVM for the correct TSC frequency.

Fixes #862

Copy link

codecov bot commented Jan 24, 2025

Codecov Report

Attention: Patch coverage is 85.71429% with 54 lines in your changes missing coverage. Please review.

Project coverage is 71.86%. Comparing base (ec96045) to head (e5d8927).

Files with missing lines Patch % Lines
src/vm.rs 89.61% 24 Missing ⚠️
src/linux/x86_64/kvm_cpu.rs 73.33% 16 Missing ⚠️
src/serial.rs 68.57% 11 Missing ⚠️
src/linux/gdb/mod.rs 90.47% 2 Missing ⚠️
src/linux/mod.rs 90.90% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #871      +/-   ##
==========================================
+ Coverage   71.64%   71.86%   +0.21%     
==========================================
  Files          23       24       +1     
  Lines        3079     3071       -8     
==========================================
+ Hits         2206     2207       +1     
+ Misses        873      864       -9     

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

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.

Uhyve does not measure the time correctly
1 participant