mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
vmstate: Add version arg to VMSTATE_SINGLE_TEST()
This allows to define VMSTATE_SINGLE with VMSTATE_SINGLE_TEST Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
bdb4941d07
commit
d4829d4992
2 changed files with 7 additions and 12 deletions
|
@ -314,7 +314,7 @@ static const VMStateInfo vmstate_hack_uint64_as_uint32 = {
|
|||
};
|
||||
|
||||
#define VMSTATE_HACK_UINT32(_f, _s, _t) \
|
||||
VMSTATE_SINGLE_TEST(_f, _s, _t, vmstate_hack_uint64_as_uint32, uint64_t)
|
||||
VMSTATE_SINGLE_TEST(_f, _s, _t, 0, vmstate_hack_uint64_as_uint32, uint64_t)
|
||||
#endif
|
||||
|
||||
static void cpu_pre_save(void *opaque)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue