1adc1ceef7
migration: Remove unneeded includes
...
Signed-off-by: Juan Quintela <quintela@redhat.com >
Reviewed-by: Peter Xu <peterx@redhat.com >
2017-06-14 11:10:19 +02:00
c4b63b7cc5
migration: Move remaining exported functions to migration/misc.h
...
Signed-off-by: Juan Quintela <quintela@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Peter Xu <peterx@redhat.com >
2017-06-13 11:00:45 +02:00
b7722747e4
migration: Move dump_vmsate_json_to_file() to misc.h
...
It was not from vmstate.c to start with.
Signed-off-by: Juan Quintela <quintela@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Peter Xu <peterx@redhat.com >
Reviewed-by: Laurent Vivier <lvivier@redhat.com >
2017-06-13 11:00:45 +02:00
f8d806c992
migration: Move self_announce_delay() to misc.h
...
Signed-off-by: Juan Quintela <quintela@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Peter Xu <peterx@redhat.com >
Reviewed-by: Laurent Vivier <lvivier@redhat.com >
2017-06-13 11:00:44 +02:00
2c9e6fec89
migration: Move include/migration/block.h into migration/
...
All functions were internal, except blk_mig_init() that is exported in
misc.h now.
Signed-off-by: Juan Quintela <quintela@redhat.com >
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com >
2017-06-01 18:49:24 +02:00
7b1e1a2202
migration: Export ram.c functions in its own file
...
All functions are internal except for ram_mig_init(). Create
migration/misc.h for this kind of functions.
Signed-off-by: Juan Quintela <quintela@redhat.com >
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com >
2017-06-01 18:49:23 +02:00