vmstate: add VMS_MUST_EXIST
commit5bf81c8d63db0216a4d29dc87f9ce530bb791dd1
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 3 Apr 2014 16:50:31 +0000 (3 19:50 +0300)
committerJuan Quintela <quintela@redhat.com>
Mon, 5 May 2014 12:15:10 +0000 (5 14:15 +0200)
tree239dd51bde391722303c13de3781bc5af6fa4d04
parent35fc1f71899fd42323bd8f33da18f0211e0d2727
vmstate: add VMS_MUST_EXIST

Can be used to verify a required field exists or validate
state in some other way.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
include/migration/vmstate.h
vmstate.c