osdep: protect qemu/osdep.h with extern "C"
[qemu/ar7.git] / stubs / vmstate.c
blobcc4fe41dfc24890846b37eacf9d8230854218fb0
1 #include "qemu/osdep.h"
2 #include "migration/vmstate.h"
4 const VMStateDescription vmstate_dummy = {};
6 int vmstate_register_with_alias_id(VMStateIf *obj,
7 uint32_t instance_id,
8 const VMStateDescription *vmsd,
9 void *base, int alias_id,
10 int required_for_version,
11 Error **errp)
13 return 0;
16 void vmstate_unregister(VMStateIf *obj,
17 const VMStateDescription *vmsd,
18 void *opaque)
22 bool vmstate_check_only_migratable(const VMStateDescription *vmsd)
24 return true;