diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2016-01-06 12:23:38 +0000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-01-09 23:20:20 +0200 |
commit | 2cf0148674430b6693c60d42b7eef721bfa9509f (patch) | |
tree | 83d6fe334b6790836919096c656790fcc51f2f95 /async.c | |
parent | 424e4a87d20027acf52e65f322a2100460162a49 (diff) | |
download | qemu-2cf0148674430b6693c60d42b7eef721bfa9509f.tar.gz qemu-2cf0148674430b6693c60d42b7eef721bfa9509f.tar.bz2 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 'async.c')
0 files changed, 0 insertions, 0 deletions