summaryrefslogtreecommitdiffstats
path: root/hw/i2c/exynos4210_i2c.c
diff options
context:
space:
mode:
authorCorey Minyard2017-12-07 22:40:53 +0100
committerCorey Minyard2019-02-28 04:06:08 +0100
commitfd9df33f0829fd93d02f48fe650be057f8d52dfd (patch)
tree8f804a6388fca7d041d4901a46b8a78a5f184cc9 /hw/i2c/exynos4210_i2c.c
parenti2c:smbus_eeprom: Add a size constant for the smbus_eeprom size (diff)
downloadqemu-fd9df33f0829fd93d02f48fe650be057f8d52dfd.tar.gz
qemu-fd9df33f0829fd93d02f48fe650be057f8d52dfd.tar.xz
qemu-fd9df33f0829fd93d02f48fe650be057f8d52dfd.zip
i2c:smbus_eeprom: Add vmstate handling to the smbus eeprom
Transfer the state of the EEPROM on a migration. This way the data remains consistent on migration. This required moving the actual data to a separate array and using the data provided in the init function as a separate initialization array, since a pointer property has to be a void * and the array needs to be uint8_t[]. Signed-off-by: Corey Minyard <cminyard@mvista.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Dr. David Alan Gilbert <dgilbert@redhat.com> Cc: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'hw/i2c/exynos4210_i2c.c')
0 files changed, 0 insertions, 0 deletions