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