qemu-patch-raspberry4/migration
Michael Tokarev 1dbd2fd9cb migration/rdma: clean up qemu_rdma_dest_init a bit
Do not check for rdma->host being empty twice.  This removes a large
"if" block, so code indentation is changed.  While at it, remove an
ugly goto from the loop, replacing it with a cleaner if logic.  And
finally, there's no need to initialize `ret' variable since is always
has a value.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Tested-by: Dr. David Alan Gilbert <dgilbert@redhat.com>

--

fixed space detected by Dave
Signed-off-by: Juan Quintela <quintela@redhat.com>
2015-03-17 15:20:37 +01:00
..
block.c migration: Convert bdrv_find to blk_by_name 2015-03-16 12:10:30 -04:00
exec.c Remove migration- pre/post fixes off files in migration/ dir 2014-12-16 17:47:36 +05:30
fd.c Handle bi-directional communication for fd migration 2015-01-16 13:06:17 +05:30
Makefile.objs Split the QEMU buffered file code out 2014-12-16 17:47:36 +05:30
migration.c migration: Avoid qerror_report_err() outside QMP command handlers 2015-03-17 15:20:37 +01:00
qemu-file-buf.c Add copyright and author after file split 2015-03-10 08:15:33 +03: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 ram: make all save_page functions take a uint64_t parameter 2015-03-16 14:32:47 +01:00
rdma.c migration/rdma: clean up qemu_rdma_dest_init a bit 2015-03-17 15:20:37 +01:00
tcp.c Remove migration- pre/post fixes off files in migration/ dir 2014-12-16 17:47:36 +05:30
unix.c Remove migration- pre/post fixes off files in migration/ dir 2014-12-16 17:47:36 +05:30
vmstate.c migration: Append JSON description of migration stream 2015-02-05 17:16:14 +01:00
xbzrle.c Start migrating migration code into a migration directory 2014-12-16 17:47:36 +05:30