OSDN Git Service

reset PMBA and PMREGMISC PIIX4 registers.
authorGleb Natapov <gleb@redhat.com>
Tue, 7 Aug 2012 12:52:03 +0000 (15:52 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 29 Aug 2012 14:30:31 +0000 (09:30 -0500)
commit4d09d37c6aa9a02b44b1fdb6268820fab92499bd
treed3215ac7632fdd4da9eec44a2e29510f501858e7
parent4bdb1a3059d7d3a931de0748a2eec39a0ab41b4e
reset PMBA and PMREGMISC PIIX4 registers.

The bug causes Windows + OVMF hang after reboot since OVMF
checks PMREGMISC to see if IO space is enabled and skip
configuration if it is.

Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/acpi_piix4.c