qemu-kvm: Fix in-kernel PIT reset
commitbcd4f22796ebda2934a980060ea704ebedb46173
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 27 Jun 2011 10:23:35 +0000 (27 12:23 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 28 Jun 2011 08:20:08 +0000 (28 11:20 +0300)
treef16fe58d2d4120c7b94f23ddef3afb61beb30dfc
parent59539c913383fdd3350681301b44f02fa7ee2757
qemu-kvm: Fix in-kernel PIT reset

Analogously to the PIC, we were lacking sync of the PIT user space
state to the kernel after reset. Fix it pragmatically, the code will be
reworked for upstream anyway.

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