vmstate: add VMSTATE_VALIDATE
commit4082f0889ba04678fc14816c53e1b9251ea9207e
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 3 Apr 2014 16:50:35 +0000 (3 19:50 +0300)
committerJuan Quintela <quintela@redhat.com>
Mon, 5 May 2014 12:15:10 +0000 (5 14:15 +0200)
treea27410d024b44ef38d183f5f02ab132752a7e0b6
parent5bf81c8d63db0216a4d29dc87f9ce530bb791dd1
vmstate: add VMSTATE_VALIDATE

Validate state using VMS_ARRAY with num = 0 and VMS_MUST_EXIST

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
include/migration/vmstate.h