diff options
| author | Corey Minyard | 2018-11-26 19:28:44 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2018-12-19 22:48:16 +0100 |
| commit | 2b4e573c7c7b9a698ba6931ba456bbd8d3d8c84c (patch) | |
| tree | de1003bf07bb4db2c3fc5ea086dc51d3ef8b0197 /hw/acpi | |
| parent | pcie: set link state inactive/active after hot unplug/plug (diff) | |
| download | qemu-2b4e573c7c7b9a698ba6931ba456bbd8d3d8c84c.tar.gz qemu-2b4e573c7c7b9a698ba6931ba456bbd8d3d8c84c.tar.xz 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>
Diffstat (limited to 'hw/acpi')
| -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; } |
