Merge remote-tracking branch 'remotes/kraxel/tags/pull-vga-20170103-1' into staging
[qemu.git] / stubs / vmstate.c
1 #include "qemu/osdep.h"
2 #include "qemu-common.h"
3 #include "migration/vmstate.h"
4
5 const VMStateDescription vmstate_dummy = {};
6
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 {
13 return 0;
14 }
15
16 void vmstate_unregister(DeviceState *dev,
17 const VMStateDescription *vmsd,
18 void *opaque)
19 {
20 }