historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/stubs/vmstate.c
2024-01-16 11:20:27 -06:00

25 lines
694 B
C

#include "qemu/osdep.h"
#include "migration/vmstate.h"
const VMStateDescription vmstate_dummy = {};
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;
}