Peter Maydell | 87c9b5e | 2016-01-29 17:49:52 +0000 | [diff] [blame] | 1 | #include "qemu/osdep.h" |
Eduardo Habkost | 083a5f8 | 2012-12-05 14:49:08 -0200 | [diff] [blame] | 2 | #include "qemu-common.h" |
| 3 | #include "migration/vmstate.h" |
| 4 | |
Andreas Färber | c71c3e9 | 2013-02-18 17:56:20 +0100 | [diff] [blame] | 5 | const VMStateDescription vmstate_dummy = {}; |
| 6 | |
Eduardo Habkost | 083a5f8 | 2012-12-05 14:49:08 -0200 | [diff] [blame] | 7 | int vmstate_register_with_alias_id(DeviceState *dev, |
| 8 | int instance_id, |
| 9 | const VMStateDescription *vmsd, |
| 10 | void *base, int alias_id, |
Dr. David Alan Gilbert | bc5c4f2 | 2017-02-02 12:59:54 +0000 | [diff] [blame] | 11 | int required_for_version, |
| 12 | Error **errp) |
Eduardo Habkost | 083a5f8 | 2012-12-05 14:49:08 -0200 | [diff] [blame] | 13 | { |
| 14 | return 0; |
| 15 | } |
| 16 | |
| 17 | void vmstate_unregister(DeviceState *dev, |
| 18 | const VMStateDescription *vmsd, |
| 19 | void *opaque) |
| 20 | { |
| 21 | } |
Ashijeet Acharya | 7562f90 | 2017-02-13 23:34:48 +0530 | [diff] [blame] | 22 | |
Juan Quintela | 1bfe5f0 | 2017-04-17 14:57:54 +0200 | [diff] [blame] | 23 | bool vmstate_check_only_migratable(const VMStateDescription *vmsd) |
Ashijeet Acharya | 7562f90 | 2017-02-13 23:34:48 +0530 | [diff] [blame] | 24 | { |
Juan Quintela | 1bfe5f0 | 2017-04-17 14:57:54 +0200 | [diff] [blame] | 25 | return true; |
Ashijeet Acharya | 7562f90 | 2017-02-13 23:34:48 +0530 | [diff] [blame] | 26 | } |