xemu/migration
Juan Quintela fd4144d413 migration: to_dst_file at that point is NULL
We have just arrived as:

migration.c: qemu_migrate()
  ....
  s = migrate_init() <- puts it to NULL
  ....
  {tcp,unix}_start_outgoing_migration ->
     socket_outgoing_migration
        migration_channel_connect()
	   sets to_dst_file

if tls is enabled, we do another round through
migrate_channel_tls_connect(), but we only set it up if there is no
error.  So we don't need the assignation.  I am removing it to remove
in the follwing patches the knowledge about MigrationState in that two
files.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
2017-05-04 10:00:38 +02:00
..
block.c migration/block: use blk_pwrite_zeroes for each zero cluster 2017-04-21 10:36:12 +01:00
colo-comm.c COLO: Add 'x-colo-lost-heartbeat' command to trigger failover 2016-10-30 15:17:39 +05:30
colo-failover.c COLO: Implement the process of failover for primary VM 2016-10-30 15:17:39 +05:30
colo.c replication: Make --disable-replication compile again 2017-04-28 16:50:16 +01:00
exec.c migration: setup bi-directional I/O channel for exec: protocol 2017-05-04 10:00:38 +02:00
fd.c migration: set name for all I/O channels created 2016-10-27 09:13:10 +02:00
Makefile.objs build: remove --enable-colo/--disable-colo 2017-01-16 17:52:35 +01:00
migration.c migration: rename max_size to threshold_size 2017-04-21 12:25:41 +02:00
postcopy-ram.c ram: Split dirty bitmap by RAMBlock 2017-05-04 10:00:38 +02:00
qemu-file-channel.c migration: introduce a new QEMUFile impl based on QIOChannel 2016-05-26 11:31:24 +05:30
qemu-file.c add 'release-ram' migrate capability 2017-02-13 17:27:13 +00:00
qjson.c qjson: free str 2016-08-08 00:00:24 +04:00
ram.c ram: Split dirty bitmap by RAMBlock 2017-05-04 10:00:38 +02:00
rdma.c migration: Make errp the last parameter of local functions 2017-04-24 09:13:44 +02:00
savevm.c migration: rename max_size to threshold_size 2017-04-21 12:25:41 +02:00
socket.c migration: to_dst_file at that point is NULL 2017-05-04 10:00:38 +02:00
tls.c migration: to_dst_file at that point is NULL 2017-05-04 10:00:38 +02:00
trace-events ram: Use page number instead of an address for the bitmap operations 2017-04-21 12:25:39 +02:00
vmstate.c vmstate: fix failed iotests case 68 and 91 2017-03-16 08:59:52 +01:00
xbzrle.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00