migration: Make failed migration load set file error
commitccb783c3124b66fed6b11aa7a1cd1939a2268287
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 23 Sep 2016 19:14:03 +0000 (23 20:14 +0100)
committerJuan Quintela <quintela@trasno.org>
Thu, 13 Oct 2016 15:22:38 +0000 (13 17:22 +0200)
tree6ce97997614a19c901da5c27c38c2aad6d7746c1
parent12c67ffb1fe34ff72a55fa440243c0dfcf22f89b
migration: Make failed migration load set file error

If an error occurs in a section load, set the file error flag
so that the transport can get notified to do a cleanup.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Michael R. Hines <michael@hinespot.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/savevm.c