This is basically the next iteration of the patch set "[RFC PATCH v2 0/8] VMS_ARRAY_OF_POINTER with null pointers". Mostly a rebase on top of current master. I have kept the r-b's for patches which remained conceptually the same. If someone disagrees please complain.
RFC v2 -> v1: * rebase * changed marker as suggested by Dave (incl. simplifications) * fixed issues pointed out by Dave * reworded some commit messages * added a test for array of ptr to primitive Halil Pasic (5): migration/vmstate: renames in (load|save)_state migration/vmstate: split up vmstate_base_addr migration/vmstate: fix array of ptr with nullptrs tests/test-vmstate.c: test array of ptr with null tests/test-vmstate.c: test array of ptr to primitive include/migration/vmstate.h | 4 ++ migration/vmstate.c | 90 ++++++++++++++++++++++------------- tests/test-vmstate.c | 113 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 174 insertions(+), 33 deletions(-) -- 2.8.4