xref: /openbmc/qemu/stubs/vmstate.c (revision f0984d40)
1 #include "qemu/osdep.h"
2 #include "migration/vmstate.h"
3 
4 int vmstate_register_with_alias_id(VMStateIf *obj,
5                                    uint32_t instance_id,
6                                    const VMStateDescription *vmsd,
7                                    void *base, int alias_id,
8                                    int required_for_version,
9                                    Error **errp)
10 {
11     return 0;
12 }
13 
14 void vmstate_unregister(VMStateIf *obj,
15                         const VMStateDescription *vmsd,
16                         void *opaque)
17 {
18 }
19 
20 bool vmstate_check_only_migratable(const VMStateDescription *vmsd)
21 {
22     return true;
23 }
24