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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment