qemu-patch-raspberry4/migration
Daniel P. Berrange 6ddd2d76ca migration: convert RDMA to use QIOChannel interface
This converts the RDMA code to provide a subclass of QIOChannel
that uses RDMA for the data transport.

This implementation of RDMA does not correctly handle non-blocking
mode. Reads might block if there was not already some pending data
and writes will block until all data is sent. This flawed behaviour
was already present in the existing impl, so appears to not be a
critical problem at this time. It should be on the list of things
to fix in the future though.

The RDMA code would be much better off it it could be split up in
a generic RDMA layer, a QIOChannel impl based on RMDA, and then
the RMDA migration glue. This is left as a future exercise for
the brave.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1461751518-12128-18-git-send-email-berrange@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
2016-05-26 11:31:50 +05:30
..
block.c block: Avoid bs->blk in bdrv_next() 2016-05-19 16:45:31 +02:00
exec.c migration: convert exec socket protocol to use QIOChannel 2016-05-26 11:31:47 +05:30
fd.c migration: convert fd socket protocol to use QIOChannel 2016-05-26 11:31:45 +05:30
Makefile.objs migration: convert exec socket protocol to use QIOChannel 2016-05-26 11:31:47 +05:30
migration.c migration: convert exec socket protocol to use QIOChannel 2016-05-26 11:31:47 +05:30
postcopy-ram.c migration/postcopy-ram: Guard use of sys/eventfd.h with CONFIG_EVENTFD 2016-02-26 15:05:25 +05:30
qemu-file-buf.c migration: Clean up includes 2016-01-29 15:07:22 +00:00
qemu-file-channel.c migration: introduce a new QEMUFile impl based on QIOChannel 2016-05-26 11:31:24 +05:30
qemu-file-internal.h migration: split migration hooks out of QEMUFileOps 2016-05-26 11:31:16 +05:30
qemu-file-stdio.c migration: Clean up includes 2016-01-29 15:07:22 +00:00
qemu-file-unix.c osdep: remove use of socket_error() from all code 2016-03-10 17:19:34 +00:00
qemu-file.c migration: introduce set_blocking function in QEMUFileOps 2016-05-26 11:31:19 +05:30
qjson.c migration/qjson: Drop gratuitous use of QOM 2016-05-23 14:16:12 +05:30
ram.c migration fixes: 2016-05-24 12:21:07 +01:00
rdma.c migration: convert RDMA to use QIOChannel interface 2016-05-26 11:31:50 +05:30
savevm.c migration: convert post-copy to use QIOChannelBuffer 2016-05-26 11:31:34 +05:30
socket.c migration: convert tcp socket protocol to use QIOChannel 2016-05-26 11:31:42 +05:30
vmstate.c migration: Move qjson.[ch] to migration/ 2016-05-23 14:16:09 +05:30
xbzrle.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00