diff options
author | Corey Minyard <cminyard@mvista.com> | 2018-11-26 12:28:44 -0600 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2018-12-19 16:48:16 -0500 |
commit | 2b4e573c7c7b9a698ba6931ba456bbd8d3d8c84c (patch) | |
tree | de1003bf07bb4db2c3fc5ea086dc51d3ef8b0197 | |
parent | 2f2b18f60bf17453b4c01197a9316615a3c1f1de (diff) | |
download | qemu-2b4e573c7c7b9a698ba6931ba456bbd8d3d8c84c.zip |
pc:piix4: Update smbus I/O space after a migration
Otherwise it won't be set up correctly and won't work after
miigration.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Cc: qemu-stable@nongnu.org
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-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 e330f24c71..2f4dd03b83 100644 --- a/hw/acpi/piix4.c +++ b/hw/acpi/piix4.c @@ -173,6 +173,7 @@ static int vmstate_acpi_post_load(void *opaque, int version_id) PIIX4PMState *s = opaque; pm_io_space_update(s); + smbus_io_space_update(s); return 0; } |