2016-01-30 01:49:52 +08:00
|
|
|
#include "qemu/osdep.h"
|
2012-12-06 00:49:08 +08:00
|
|
|
#include "qemu-common.h"
|
|
|
|
#include "migration/vmstate.h"
|
|
|
|
|
2013-02-19 00:56:20 +08:00
|
|
|
const VMStateDescription vmstate_dummy = {};
|
|
|
|
|
2012-12-06 00:49:08 +08:00
|
|
|
int vmstate_register_with_alias_id(DeviceState *dev,
|
|
|
|
int instance_id,
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
void vmstate_unregister(DeviceState *dev,
|
|
|
|
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
|
|
|
}
|