OSDN Git Service

i2c:pm_smbus: Fix state transfer
authorCorey Minyard <cminyard@mvista.com>
Thu, 22 Dec 2016 18:28:23 +0000 (12:28 -0600)
committerCorey Minyard <cminyard@mvista.com>
Thu, 28 Feb 2019 03:06:08 +0000 (21:06 -0600)
commit4ab2f2a8aabfea95cc53c64e13b3f67960b27fdf
treecdffe992b01919724c9320bed2c3646e60d2b540
parent8e995f34031d66666b45b779458cb370e86cfe2d
i2c:pm_smbus: Fix state transfer

Transfer the state information for the SMBus registers and
internal data so it will work on a VM transfer.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
hw/acpi/piix4.c
hw/i2c/pm_smbus.c
hw/i2c/smbus_ich9.c
include/hw/i2c/pm_smbus.h