Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9da8f4e8 authored by Kevin Pedretti's avatar Kevin Pedretti Committed by Avi Kivity
Browse files

KVM: Improve local apic timer wraparound handling



Better handle wrap-around cases when reading the APIC CCR
(current count register).  Also, if ICR is 0, CCR should also
be 0... previously reading CCR before setting ICR would result
in a large kinda-random number.

Signed-off-by: default avatarKevin Pedretti <kevin.pedretti@gmail.com>
Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent b33ac88b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment