]> git.proxmox.com Git - qemu.git/commit - savevm.c
savevm: Add VMSTATE_UINT64_EQUAL helpers
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 12 Mar 2013 03:06:00 +0000 (14:06 +1100)
committerJuan Quintela <quintela@redhat.com>
Tue, 26 Mar 2013 12:30:48 +0000 (13:30 +0100)
commite344b8a16de429ada3d9126f26e2a96d71348356
tree606716e128c2072255c6a6e0c9fefa9ff84377be
parent817c60457f41e8643b612d451b3737433e9c7e0a
savevm: Add VMSTATE_UINT64_EQUAL helpers

The savevm code already includes a number of *_EQUAL helpers which act as
sanity checks verifying that the configuration of the saved state matches
that of the machine we're loading into to work.  Variants already exist
for 8 bit 16 bit and 32 bit integers, but not 64 bit integers.  This patch
fills that hole, adding a UINT64 version.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Juan Quintela <quintela@redhat.com>
include/migration/vmstate.h
savevm.c