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