summaryrefslogtreecommitdiff
path: root/hw/acpi
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-09-11 13:33:31 +0300
committerMichael S. Tsirkin <mst@redhat.com>2013-09-15 11:49:50 +0300
commitc046e8c4a26c902ca1b4f5bdf668a2da6bc75f54 (patch)
tree0a260b74e17d1a97974b424b8cca1a8cbcf6dbea /hw/acpi
parent2028fdf3791e14c5ad156252afa0e792192a3e92 (diff)
downloadqemu-c046e8c4a26c902ca1b4f5bdf668a2da6bc75f54.tar.gz
qemu-c046e8c4a26c902ca1b4f5bdf668a2da6bc75f54.tar.bz2
qemu-c046e8c4a26c902ca1b4f5bdf668a2da6bc75f54.zip
piix4: disable io on reset
io base register at 0x40 is cleared on reset, but io is not disabled until some other event happens to call pm_io_space_update. Invoke pm_io_space_update directly to make this consistent. Cc: qemu-stable@nongnu.org Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/acpi')
-rw-r--r--hw/acpi/piix4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/acpi/piix4.c b/hw/acpi/piix4.c
index 0b8d1d9da9..b46bd5ea6a 100644
--- a/hw/acpi/piix4.c
+++ b/hw/acpi/piix4.c
@@ -380,6 +380,7 @@ static void piix4_reset(void *opaque)
/* Mark SMM as already inited (until KVM supports SMM). */
pci_conf[0x5B] = 0x02;
}
+ pm_io_space_update(s);
piix4_update_hotplug(s);
}