vmstate: Allow dynamic allocation for VBUFFER during migration
commit94ed706d53a9018f24c67374c71f358fca2f0413
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Thu, 2 Oct 2014 09:56:02 +0000 (2 19:56 +1000)
committerJuan Quintela <quintela@trasno.org>
Tue, 14 Oct 2014 07:35:48 +0000 (14 09:35 +0200)
treec152b50ee203d0f6cf9a52b7b65054490f0deeda
parent7ea2d269cb84ca7a2f4b7c3735634176f7c1dc35
vmstate: Allow dynamic allocation for VBUFFER during migration

This extends use of VMS_ALLOC flag from arrays to VBUFFER as well.

This defines VMSTATE_VBUFFER_ALLOC_UINT32 which makes use of VMS_ALLOC
and uses uint32_t type for a size.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Juan Quintela <quintela@redhat.com>
include/migration/vmstate.h
vmstate.c