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