xref: /openbmc/qemu/stubs/vmstate.c (revision 8acf8650)
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