Add more VMSTATE_*_TEST variants for integers
commit87774a4a4217b5cddc693f0678d0fc2bfc7f2ec1
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 6 Feb 2015 03:55:46 +0000 (6 14:55 +1100)
committerAlexander Graf <agraf@suse.de>
Mon, 9 Mar 2015 13:59:56 +0000 (9 14:59 +0100)
tree080c28839178c8b7fa91632d0e781d6596421586
parent8e099d14f5233f330c4a6f03ff655219cd789c8f
Add more VMSTATE_*_TEST variants for integers

Currently, vmstate.h includes helper macro variants for 8, 16 and 32-bit
unsigned integers which include a "test" function which can selectively
enable or disable the field's presence in the migration stream.

There aren't similar helpers for 64-bit unsigned integers, or any size of
signed integers.  This patch remedies this.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/migration/vmstate.h