gluster: Don't duplicate qapi-util.c's qapi_enum_parse()
[qemu/ar7.git] / stubs / vmstate.c
blob6d52f29bb2f1f91fde23173a59ddbebedfb76a72
1 #include "qemu/osdep.h"
2 #include "qemu-common.h"
3 #include "migration/vmstate.h"
4 #include "migration/migration.h"
6 const VMStateDescription vmstate_dummy = {};
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)
15 return 0;
18 void vmstate_unregister(DeviceState *dev,
19 const VMStateDescription *vmsd,
20 void *opaque)
24 int check_migratable(Object *obj, Error **err)
26 return 0;