hw/rdma: Add wrappers and macros
[qemu/ar7.git] / stubs / vmstate.c
blob6399474e49cad56f32cda95452808dedc8adf076
1 #include "qemu/osdep.h"
2 #include "qemu-common.h"
3 #include "migration/vmstate.h"
5 const VMStateDescription vmstate_dummy = {};
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)
14 return 0;
17 void vmstate_unregister(DeviceState *dev,
18 const VMStateDescription *vmsd,
19 void *opaque)
23 bool vmstate_check_only_migratable(const VMStateDescription *vmsd)
25 return true;