vmstate: Add support for two dimensional arrays
commitbd7f92e59e7f40ddaeda40e55f7818c8121ecf1a
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 5 Apr 2013 15:17:59 +0000 (5 16:17 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 5 Apr 2013 15:17:59 +0000 (5 16:17 +0100)
treed9de5c6a09fc6f85c678363967a72d652f8346bc
parentb79269b78d0182fa7f4e23b779010145d0b4eaea
vmstate: Add support for two dimensional arrays

Add support for migrating two dimensional arrays, by defining
a set of new macros VMSTATE_*_2DARRAY paralleling the existing
VMSTATE_*_ARRAY macros. 2D arrays are handled the same for actual
state serialization; the only difference is that the type check
has to change for a 2D array.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Igor Mitsyanko <i.mitsyanko@gmail.com>
Message-id: 1363975375-3166-2-git-send-email-peter.maydell@linaro.org
include/migration/vmstate.h