stubs: Move qemu_timer_notify_cb() and remove qemu_notify_event() stub
[qemu.git] / stubs / vmstate.c
1 #include "qemu/osdep.h"
2 #include "migration/vmstate.h"
3
4 const VMStateDescription vmstate_dummy = {};
5
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)
12 {
13 return 0;
14 }
15
16 void vmstate_unregister(VMStateIf *obj,
17 const VMStateDescription *vmsd,
18 void *opaque)
19 {
20 }
21
22 bool vmstate_check_only_migratable(const VMStateDescription *vmsd)
23 {
24 return true;
25 }