diff options
author | Michael S. Tsirkin | 2013-09-11 12:33:31 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2013-09-15 10:49:50 +0200 |
commit | c046e8c4a26c902ca1b4f5bdf668a2da6bc75f54 (patch) | |
tree | 0a260b74e17d1a97974b424b8cca1a8cbcf6dbea /hw | |
parent | piix: use 64 bit window programmed by guest (diff) | |
download | qemu-c046e8c4a26c902ca1b4f5bdf668a2da6bc75f54.tar.gz qemu-c046e8c4a26c902ca1b4f5bdf668a2da6bc75f54.tar.xz 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')
-rw-r--r-- | hw/acpi/piix4.c | 1 |
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); } |