mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-30 15:00:34 +00:00
feece4d070
Migration is specific to system emulation. - Move the CPUClass::vmsd field to SysemuCPUOps, - restrict VMSTATE_CPU() macro to sysemu, - vmstate_dummy is now unused, remove it. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210517105140.1062037-16-f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
24 lines
648 B
C
24 lines
648 B
C
#include "qemu/osdep.h"
|
|
#include "migration/vmstate.h"
|
|
|
|
int vmstate_register_with_alias_id(VMStateIf *obj,
|
|
uint32_t instance_id,
|
|
const VMStateDescription *vmsd,
|
|
void *base, int alias_id,
|
|
int required_for_version,
|
|
Error **errp)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void vmstate_unregister(VMStateIf *obj,
|
|
const VMStateDescription *vmsd,
|
|
void *opaque)
|
|
{
|
|
}
|
|
|
|
bool vmstate_check_only_migratable(const VMStateDescription *vmsd)
|
|
{
|
|
return true;
|
|
}
|