hermit-os / uhyve

A specialized hypervisor for Hermit.
Apache License 2.0
251 stars 29 forks source link

fix(x86_64): handle processor frequency not present in CPUID #688

Open charlottestinson opened 2 months ago

charlottestinson commented 2 months ago

Fixed unenumerated tinfo.numerator() causing panic.

Closes https://github.com/hermit-os/uhyve/issues/537

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 67.99%. Comparing base (2825277) to head (7afebf4).

Files Patch % Lines
src/arch/x86_64/mod.rs 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #688 +/- ## ========================================== - Coverage 68.05% 67.99% -0.06% ========================================== Files 20 20 Lines 2310 2312 +2 ========================================== Hits 1572 1572 - Misses 738 740 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mkroening commented 1 month ago

@charlottestinson, @MrMunoz, are you planning to continue pursuing this PR? :)