commit | 3fbc1c0c1309a6cc2a0699fbf5e286d32250a0be | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Fri Mar 02 20:28:47 2012 +0100 |
committer | Avi Kivity <avi@redhat.com> | Wed Mar 07 12:27:41 2012 +0200 |
tree | ee9d258fe42de8410774ff2ea556e06ecdf0f24c | |
parent | d11e859e4afe9b8b12f4478ab4ae3204d2d665ce [diff] |
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>