qemu/migration
Dr. David Alan Gilbert e4d633207c Sort destination RAMBlocks to be the same as the source
Use the order of incoming RAMBlocks from the source to record
an index number; that then allows us to sort the destination
local RAMBlock list to match the source.

Now that the RAMBlocks are known to be in the same order, this
simplifies the RDMA Registration step which previously tried to
match RAMBlocks based on offset (which isn't guaranteed to match).

Looking at the existing compress code, I think it was erroneously
relying on an assumption of matching ordering, which this fixes.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2015-07-07 14:54:49 +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 Split the QEMU buffered file code out 2014-12-16 17:47:36 +05:30
migration.c Include monitor/monitor.h exactly where needed 2015-06-22 18:20:41 +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 socket shutdown 2015-01-16 13:06:17 +05:30
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 Sort destination RAMBlocks to be the same as the source 2015-07-07 14:54:49 +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 Start migrating migration code into a migration directory 2014-12-16 17:47:36 +05:30