qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] pc:piix4: Update smbus I/O space after a migration
@ 2018-11-26 18:28 minyard
  2018-11-29 15:45 ` Corey Minyard
  0 siblings, 1 reply; 5+ messages in thread
From: minyard @ 2018-11-26 18:28 UTC (permalink / raw)
  To: qemu-devel; +Cc: Igor Mammedov, Michael S . Tsirkin, Corey Minyard

From: Corey Minyard <cminyard@mvista.com>

Otherwise it won't be set up correctly and won't work after
miigration.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
---
 hw/acpi/piix4.c | 1 +
 1 file changed, 1 insertion(+)

A rather obvious fix, in hindsight :).

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;
 }
 
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-12-03 15:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-26 18:28 [Qemu-devel] [PATCH] pc:piix4: Update smbus I/O space after a migration minyard
2018-11-29 15:45 ` Corey Minyard
2018-11-29 15:49   ` Michael S. Tsirkin
2018-11-29 16:43     ` [Qemu-devel] [PATCH for-3.1?] " Eric Blake
2018-12-03 15:14       ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).