]> git.proxmox.com Git - qemu.git/commit
i8254: Open-code timer restore
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 2 Mar 2012 19:28:47 +0000 (20:28 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 7 Mar 2012 10:27:41 +0000 (12:27 +0200)
commit3fbc1c0c1309a6cc2a0699fbf5e286d32250a0be
treeee9d258fe42de8410774ff2ea556e06ecdf0f24c
parentd11e859e4afe9b8b12f4478ab4ae3204d2d665ce
i8254: Open-code timer restore

Same as for the APIC: To enable migration between accelerated and
non-accelerated models, we need to arm the channel 0 timer only inside
the emulated PIT model. The common code just saves/restores that timer
to the the next_transition_time field.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
hw/i8254.c
hw/i8254_common.c