Corey Minyard fd9df33f08 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>
2019-02-27 21:06:08 -06:00
..
2019-02-27 21:06:08 -06:00
2019-02-22 09:42:13 +00:00
2019-02-18 10:52:08 +11:00
2019-02-27 21:06:08 -06:00
2019-02-27 21:06:08 -06:00
2016-01-29 15:07:25 +00:00
2019-02-27 21:06:08 -06:00
2019-02-18 16:20:13 +00:00
2019-02-05 19:39:22 +00:00
2019-02-07 16:49:30 +00:00