vmstate: Introduce VMSTATE_VARRAY_MULTPLY
authorJuan Quintela <quintela@redhat.com>
Mon, 11 Jan 2016 12:40:22 +0000 (12:40 +0000)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sat, 16 Jan 2016 12:01:23 +0000 (12:01 +0000)
commitb47d3af7559b6fe17a2a86a1f0bf69f386873753
tree6adc1f3a61e3457ff0c229ba9f1e7df32646c9e2
parent551747491d6677e4cc6cac8750462887a09bc722
vmstate: Introduce VMSTATE_VARRAY_MULTPLY

This allows to send a partial array where the size is another
structure field multiplied by a constant.

Signed-off-by: Juan Quintela <quintela@redhat.com>
[PMM: updated to current master]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
include/migration/vmstate.h
migration/vmstate.c