summaryrefslogtreecommitdiffstats
path: root/hw/misc/ivshmem.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert2016-01-06 13:23:38 +0100
committerMichael S. Tsirkin2016-01-09 22:20:20 +0100
commit2cf0148674430b6693c60d42b7eef721bfa9509f (patch)
tree83d6fe334b6790836919096c656790fcc51f2f95 /hw/misc/ivshmem.c
parenti386/pc: expose identifying the floppy controller (diff)
downloadqemu-2cf0148674430b6693c60d42b7eef721bfa9509f.tar.gz
qemu-2cf0148674430b6693c60d42b7eef721bfa9509f.tar.xz
qemu-2cf0148674430b6693c60d42b7eef721bfa9509f.zip
Add VMSTATE_STRUCT_VARRAY_KNOWN
At the moment we have VMSTATE_STRUCT_ARRAY that requires the field is declared as an array of fixed size. We also have VMSTATE_STRUCT_VARRAY_UINT* that allows a field declared as a pointer, but requires that the length is a field member in the structure being loaded/saved. VMSTATE_STRUCT_VARRAY_KNOWN is for arrays defined as pointers yet we somehow know the length of. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'hw/misc/ivshmem.c')
0 files changed, 0 insertions, 0 deletions