2016-01-30 01:49:52 +08:00
|
|
|
#include "qemu/osdep.h"
|
2012-12-06 00:49:08 +08:00
|
|
|
#include "migration/vmstate.h"
|
|
|
|
|
2019-08-28 20:02:32 +08:00
|
|
|
int vmstate_register_with_alias_id(VMStateIf *obj,
|
2019-10-16 10:29:31 +08:00
|
|
|
uint32_t instance_id,
|
2012-12-06 00:49:08 +08:00
|
|
|
const VMStateDescription *vmsd,
|
|
|
|
void *base, int alias_id,
|
2017-02-02 20:59:54 +08:00
|
|
|
int required_for_version,
|
|
|
|
Error **errp)
|
2012-12-06 00:49:08 +08:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2019-08-28 20:02:32 +08:00
|
|
|
void vmstate_unregister(VMStateIf *obj,
|
2012-12-06 00:49:08 +08:00
|
|
|
const VMStateDescription *vmsd,
|
|
|
|
void *opaque)
|
|
|
|
{
|
|
|
|
}
|
2017-02-14 02:04:48 +08:00
|
|
|
|
2017-04-17 20:57:54 +08:00
|
|
|
bool vmstate_check_only_migratable(const VMStateDescription *vmsd)
|
2017-02-14 02:04:48 +08:00
|
|
|
{
|
2017-04-17 20:57:54 +08:00
|
|
|
return true;
|
2017-02-14 02:04:48 +08:00
|
|
|
}
|