Re: [Qemu-devel] [PATCH v3 1/3] vmstate: Add support for two dimensional arrays

2013-03-22 Thread Igor Mitsyanko
On Mar 22, 2013 10:02 PM, "Peter Maydell" wrote: > > 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

[Qemu-devel] [PATCH v3 1/3] vmstate: Add support for two dimensional arrays

2013-03-22 Thread Peter Maydell
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