vmstate: fix varrays with uint32_t indexes
commit1329d1896cc627cf71e3833525152ff59dd5113b
authorAmos Kong <akong@redhat.com>
Tue, 13 Mar 2012 06:05:36 +0000 (13 14:05 +0800)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 17 Mar 2012 12:58:51 +0000 (17 12:58 +0000)
tree283a590daae0432ccad1f210674cb44ea84b6532
parent4055299ef0e1c6e4a9b09ce000757b1274129991
vmstate: fix varrays with uint32_t indexes

VMSTATE_VARRAY_UINT32() is used in hw/ds1225y.c, and we checked
VMS_VARRAY_UINT32 bit of field->flags in vmstate_load_state(),
but we don't check this bit in vmstate_save_state().

Signed-off-by: Amos Kong <akong@redhat.com>
Acked-by: Juan Quintela <quintela@redhat.com>
Acked-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
savevm.c