summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJan Kiszka2012-08-14 10:24:47 +0200
committerMarcelo Tosatti2012-08-15 00:23:16 +0200
commit050a46065de8e3d4ee5a04f5598d666f63d34800 (patch)
treef378370019034e13f316a3fd743f56e3eb38a499 /scripts
parentkvm: i8254: Cache kernel clock offset in KVMPITState (diff)
downloadqemu-050a46065de8e3d4ee5a04f5598d666f63d34800.tar.gz
qemu-050a46065de8e3d4ee5a04f5598d666f63d34800.tar.xz
qemu-050a46065de8e3d4ee5a04f5598d666f63d34800.zip
kvm: i8254: Finish time conversion fix
0cdd3d1444 fixed reading back the counter load time from the kernel while assuming the kernel would always update its load time on writing the state. That is only true for channel 1, and so pit_get_channel_info returned wrong output pin states for high counter values. Fix this by applying the offset also on kvm_pit_put. Now we also need to update the offset when we write the state while the VM is stopped as it keeps on changing in that state. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions