qemu-e2k/migration
Juan Quintela df4b102452 migration: create new section to store global state
This includes a new section that for now just stores the current qemu state.

Right now, there are only one way to control what is the state of the
target after migration.

- If you run the target qemu with -S, it would start stopped.
- If you run the target qemu without -S, it would run just after migration finishes.

The problem here is what happens if we start the target without -S and
there happens one error during migration that puts current state as
-EIO.  Migration would ends (notice that the error happend doing block
IO, network IO, i.e. nothing related with migration), and when
migration finish, we would just "continue" running on destination,
probably hanging the guest/corruption data, whatever.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2015-07-07 14:54:51 +02:00
..
block.c block: Ensure consistent bitmap function prototypes 2015-04-28 15:36:10 +02:00
exec.c Change qemu_set_fd_handler2(..., NULL, ...) to qemu_set_fd_handler 2015-06-12 13:26:21 +01:00
fd.c Change qemu_set_fd_handler2(..., NULL, ...) to qemu_set_fd_handler 2015-06-12 13:26:21 +01:00
Makefile.objs
migration.c migration: create new section to store global state 2015-07-07 14:54:51 +02:00
qemu-file-buf.c qerror: Move #include out of qerror.h 2015-06-22 18:20:40 +02:00
qemu-file-internal.h Split struct QEMUFile out 2014-12-16 17:47:36 +05:30
qemu-file-stdio.c Start migrating migration code into a migration directory 2014-12-16 17:47:36 +05:30
qemu-file-unix.c
qemu-file.c Rework ram_control_load_hook to hook during block load 2015-07-07 14:54:48 +02:00
ram.c Rework ram_control_load_hook to hook during block load 2015-07-07 14:54:48 +02:00
rdma.c Fail more cleanly in mismatched RAM cases 2015-07-07 14:54:50 +02:00
savevm.c Only try and read a VMDescription if it should be there 2015-07-07 14:54:46 +02:00
tcp.c Change qemu_set_fd_handler2(..., NULL, ...) to qemu_set_fd_handler 2015-06-12 13:26:21 +01:00
unix.c Change qemu_set_fd_handler2(..., NULL, ...) to qemu_set_fd_handler 2015-06-12 13:26:21 +01:00
vmstate.c Move copy out of qemu_peek_buffer 2015-06-12 06:54:01 +02:00
xbzrle.c