commit | 9da8f4e83a824dabf3fb7ad0890549257ae614a0 | [log] [tgz] |
---|---|---|
author | Kevin Pedretti <kevin.pedretti@gmail.com> | Sun Oct 21 08:55:50 2007 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Mon Oct 22 12:03:29 2007 +0200 |
tree | c99a6c3ae8f07c9ae9fc49b5567a665359d7da24 | |
parent | b33ac88b4c23330043acad930517282eb486db1d [diff] |
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: Kevin Pedretti <kevin.pedretti@gmail.com> Signed-off-by: Avi Kivity <avi@qumranet.com>