migration: comment VMSTATE_UNUSED*() properly
authorPeter Xu <peterx@redhat.com>
Fri, 29 Mar 2019 09:57:13 +0000 (17:57 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 14 May 2019 16:33:35 +0000 (17:33 +0100)
commit772c6212d2bcdb6adcb2a0d906745b42903b2ecf
treed4e32ac671b47f5d6f188809109e0cb637ceeac1
parente329ad2ab72c43b56df88b34954c2c7d839bb373
migration: comment VMSTATE_UNUSED*() properly

It is error prone to use VMSTATE_UNUSED*() sometimes especially when
the size of the migration stream of the field is not the same as the
size of the structure (boolean is one example).  Comment it well so
people will be aware of this when people want to use it.

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20190329095713.14177-1-peterx@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
include/migration/vmstate.h