vmstate: Add a VSTRUCT type
commit2dc6660bd8db0bfab0be91135cb0f6d83940d190
authorCorey Minyard <cminyard@mvista.com>
Wed, 25 Apr 2018 15:27:30 +0000 (25 10:27 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Jun 2018 13:13:46 +0000 (1 15:13 +0200)
tree2595005e3c97f691ac2b830733acfe8c9a8e24e2
parent8f971cf0c9265fa5d9f06a195f119237e403c0ce
vmstate: Add a VSTRUCT type

The VMS_STRUCT has no way to specify which version of a structure
to use.  Add a type and a new field to allow the specific version
of a structure to be used.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Message-Id: <1524670052-28373-2-git-send-email-minyard@acm.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/migration/vmstate.h
migration/vmstate.c