i8254: Do not raise IRQ level on reset
commit61b7b67df2ed10ff5ab0dcc649080bca782fdc5e
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 1 Feb 2012 19:31:37 +0000 (1 20:31 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 17 Feb 2012 15:58:22 +0000 (17 09:58 -0600)
treea51bdd4ec52cccf3f347073f9a6b1252ea45047e
parent7dfbfc7927c1f7ab9f6910768ed6d966645b5866
i8254: Do not raise IRQ level on reset

Avoid changing the IRQ level to high on reset as it may trigger spurious
events. Instead, open-code the effects of pit_load_count(0) in the reset
handler.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/i8254.c