diff options
Diffstat (limited to 'qemu/stubs/vmstate.c')
-rw-r--r-- | qemu/stubs/vmstate.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/qemu/stubs/vmstate.c b/qemu/stubs/vmstate.c new file mode 100644 index 000000000..778bc3fc6 --- /dev/null +++ b/qemu/stubs/vmstate.c @@ -0,0 +1,19 @@ +#include "qemu-common.h" +#include "migration/vmstate.h" + +const VMStateDescription vmstate_dummy = {}; + +int vmstate_register_with_alias_id(DeviceState *dev, + int instance_id, + const VMStateDescription *vmsd, + void *base, int alias_id, + int required_for_version) +{ + return 0; +} + +void vmstate_unregister(DeviceState *dev, + const VMStateDescription *vmsd, + void *opaque) +{ +} |