mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
Our BIOS doesn't set the TSC MSR to 0 on boot, but our hypervisors need this to be set so they can correctly sync their TSC offsets. This introduces a generic "reset_msrs" function where we currently reset the TSC msr, but where we could also reset if we need to in the future. Cherrypick from downstream branch. Actual author: Colin Downs-Razouk <colindr@google.com>. BUG=191981229 TEST=tested downstream Change-Id: I17b5709411394ae48fb5d7310636636295ebfaad Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3690370 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Noah Gold <nkgold@google.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |