block/qcow2-bitmap: fix bitmap migration
[qemu/kevin.git] / stubs / vmstate.c
blobe1e89b87f0d89b122d4e8b3b49dcffa5e736405f
1 #include "qemu/osdep.h"
2 #include "migration/vmstate.h"
4 const VMStateDescription vmstate_dummy = {};
6 int vmstate_register_with_alias_id(DeviceState *dev,
7 int 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(DeviceState *dev,
17 const VMStateDescription *vmsd,
18 void *opaque)
22 bool vmstate_check_only_migratable(const VMStateDescription *vmsd)
24 return true;