migration: introduce VMSTATE_BUFFER_UNSAFE_INFO_TEST()
commit9df0b0e09c48ad543e6d12ee0c17d1857f83d3ca
authorLaszlo Ersek <lersek@redhat.com>
Fri, 19 Jun 2015 02:40:08 +0000 (19 04:40 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 23 Jun 2015 20:57:47 +0000 (23 22:57 +0200)
tree6ff7f954624c7725f80f54a9b853ab57ca09cdbf
parenteb6c6a604890201e321a6ace32973d10dc033245
migration: introduce VMSTATE_BUFFER_UNSAFE_INFO_TEST()

There is no _TEST() variant of VMSTATE_BUFFER_UNSAFE_INFO() yet, but we'll
soon need it. Introduce it and rebase the original
VMSTATE_BUFFER_UNSAFE_INFO() on top.

The parameter order of the new function-like macro follows that of
VMSTATE_SINGLE_TEST(): "_test" is introduced between "_state" and
"_version".

Cc: Juan Quintela <quintela@redhat.com>
Cc: Amit Shah <amit.shah@redhat.com>
Cc: Marcel Apfelbaum <marcel@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/migration/vmstate.h