migration: force QEMUFile to blocking mode for outgoing migration
commit9e4d2b98ee98f4cee50d671e500eceeefa751ee0
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 27 Apr 2016 10:04:57 +0000 (27 11:04 +0100)
committerAmit Shah <amit.shah@redhat.com>
Thu, 26 May 2016 06:01:21 +0000 (26 11:31 +0530)
tree9e6a0d9607ccd0f8a7a9c39b0e95431c208aced7
parent06ad513532b1a6085abf4a5dab15d1a4719f715c
migration: force QEMUFile to blocking mode for outgoing migration

Instead of relying on the default QEMUFile I/O blocking flag
state, explicitly turn on blocking I/O for outgoing migration
since it takes place in a background thread.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <1461751518-12128-8-git-send-email-berrange@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
migration/migration.c