slirp: VMStatify sbuf
[qemu.git] / stubs / vmstate.c
1 #include "qemu/osdep.h"
2 #include "qemu-common.h"
3 #include "migration/vmstate.h"
4 #include "migration/migration.h"
5
6 const VMStateDescription vmstate_dummy = {};
7
8 int vmstate_register_with_alias_id(DeviceState *dev,
9 int instance_id,
10 const VMStateDescription *vmsd,
11 void *base, int alias_id,
12 int required_for_version,
13 Error **errp)
14 {
15 return 0;
16 }
17
18 void vmstate_unregister(DeviceState *dev,
19 const VMStateDescription *vmsd,
20 void *opaque)
21 {
22 }
23
24 int check_migratable(Object *obj, Error **err)
25 {
26 return 0;
27 }