Skip to content

Commit

Permalink
pc:piix4: Update smbus I/O space after a migration
Browse files Browse the repository at this point in the history
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>
(cherry picked from commit 2b4e573)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
  • Loading branch information
cminyard authored and mdroth committed Mar 28, 2019
1 parent 5363028 commit 98cf1bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/acpi/piix4.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 98cf1bb

Please sign in to comment.