qemu-e2k/include/migration
Alexey Kardashevskiy 705124ea6d vmstate: Define VARRAY with VMS_ALLOC
This allows dynamic allocation for migrating arrays.

Already existing VMSTATE_VARRAY_UINT32 requires an array to be
pre-allocated, however there are cases when the size is not known in
advance and there is no real need to enforce it.

This defines another variant of VMSTATE_VARRAY_UINT32 with WMS_ALLOC
flag which tells the receiving side to allocate memory for the array
before receiving the data.

The first user of it is a dynamic DMA window which existence and size
are totally dynamic.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2016-06-07 10:17:45 +10:00
..
block.h
cpu.h
migration.h migration: add support for encrypting data with TLS 2016-05-26 11:32:13 +05:30
page_cache.h
postcopy-ram.h
qemu-file.h migration: remove qemu_get_fd method from QEMUFile 2016-05-26 11:32:21 +05:30
qjson.h migration/qjson: Drop gratuitous use of QOM 2016-05-23 14:16:12 +05:30
vmstate.h vmstate: Define VARRAY with VMS_ALLOC 2016-06-07 10:17:45 +10:00