diff options
Diffstat (limited to 'stubs/vmstate.c')
-rw-r--r-- | stubs/vmstate.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/stubs/vmstate.c b/stubs/vmstate.c new file mode 100644 index 000000000..8513d9204 --- /dev/null +++ b/stubs/vmstate.c @@ -0,0 +1,23 @@ +#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; +} |