qemu-e2k/migration
Dr. David Alan Gilbert a82d593b61 Page request: Consume pages off the post-copy queue
When transmitting RAM pages, consume pages that have been queued by
MIG_RPCOMM_REQPAGE commands and send them ahead of normal page scanning.

Note:
  a) After a queued page the linear walk carries on from after the
unqueued page; there is a reasonable chance that the destination
was about to ask for other closeby pages anyway.

  b) We have to be careful of any assumptions that the page walking
code makes, in particular it does some short cuts on its first linear
walk that break as soon as we do a queued page.

  c) We have to be careful to not break up host-page size chunks, since
this makes it harder to place the pages on the destination.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2015-11-10 15:00:27 +01:00
..
Makefile.objs postcopy: OS support test 2015-11-10 15:00:26 +01:00
block.c Modify save_live_pending for postcopy 2015-11-10 15:00:26 +01: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
migration.c Page request: Process incoming page request 2015-11-10 15:00:27 +01:00
postcopy-ram.c postcopy: ram_enable_notify to switch on userfault 2015-11-10 15:00:27 +01:00
qemu-file-buf.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
qemu-file-internal.h Split struct QEMUFile out 2014-12-16 17:47:36 +05:30
qemu-file-stdio.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
qemu-file-unix.c Return path: socket_writev_buffer: Block even on non-blocking fd's 2015-11-10 15:00:25 +01:00
qemu-file.c Return path: Open a return path on QEMUFile for sockets 2015-11-10 14:51:49 +01:00
ram.c Page request: Consume pages off the post-copy queue 2015-11-10 15:00:27 +01:00
rdma.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
savevm.c postcopy: ram_enable_notify to switch on userfault 2015-11-10 15:00:27 +01: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 vmstate: Create optional sections 2015-07-07 14:54:52 +02:00
xbzrle.c Start migrating migration code into a migration directory 2014-12-16 17:47:36 +05:30