hw/eeprom93xx.c: substitute structure dump with discrete dump in eeprom_save/load
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Mar 2009 23:14:41 +0000 (23:14 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Mar 2009 23:14:41 +0000 (23:14 +0000)
commitd4ae799cd164aa80a25e52ac09aceb7ff9732ac9
tree73f35a8a444b581d946bc7bd62e904dc60c6b336
parente8afa06581cb7ea808d6568d4106eb1b6f1ab334
hw/eeprom93xx.c: substitute structure dump with discrete dump in eeprom_save/load

The EEPROM 93xx device used to dump a C structure to the migration stream.
This structure includes mixed 8 and 16bit variables and is thus subject to
compiler dependent padding. Replace this with discrete dumps of each member
(and add a padding byte to ensure compatibility, a version update is
included in the following patch).

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6917 c046a42c-6fe2-441c-8c8c-71466251a162
hw/eeprom93xx.c