Reset HPET config register on hpet_reset
authorBeth Kon <eak@us.ibm.com>
Mon, 13 Jul 2009 23:43:13 +0000 (19:43 -0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 16 Jul 2009 22:28:50 +0000 (17:28 -0500)
commitdafd74cb568fd0fd2142ce1f9984c3e39fc81387
tree7ad0f29123d8d99e5617bcb1a9db999e09c481a9
parent2f124ee8e9d707d6754f56003d7db707947f6b1e
Reset HPET config register on hpet_reset

Without this, after system reset, hpet does not detect transition from
non-legacy to legacy mode.

Signed-off-by: Beth Kon <eak@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/hpet.c