commit | 205df4d1a87cbb14a50655fb2c0a987467fb29d6 | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Tue Aug 14 10:24:03 2012 +0200 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Tue Aug 14 19:23:16 2012 -0300 |
tree | 83d118f404509796a2c18189cb152e46bca8d454 | |
parent | 873359d411eeb380906761e46839a2b705dbcf75 [diff] |
kvm: i8254: Cache kernel clock offset in KVMPITState To prepare the final fix for clock calibration issues with the in-kernel PIT, we want to cache the offset between vmclock and the clock used by the in-kernel PIT. So far, we only need to update it when the VM state changes between running and stopped because we only read the in-kernel PIT state while the VM is running. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>