hpet: Start/stop timer when HPET_TN_ENABLE is modified
commit9cec89e8db494df43faf242a5a030bc6540c89dd
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 13 Jun 2010 12:15:39 +0000 (13 14:15 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 13 Jun 2010 12:32:59 +0000 (13 15:32 +0300)
tree71d84263895de95d49e32cf12c2e830289bc7d18
parent822557eb8ea4694d1a91b68cbf6152f5277f5599
hpet: Start/stop timer when HPET_TN_ENABLE is modified

We have to update the qemu timer when the per-timer enable bit is
toggled, just like for HPET_CFG_ENABLE changes.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/hpet.c