migration: Avoid qerror_report_err() outside QMP command handlers
authorMarkus Armbruster <armbru@redhat.com>
Wed, 18 Feb 2015 18:21:52 +0000 (19:21 +0100)
committerJuan Quintela <quintela@redhat.com>
Tue, 17 Mar 2015 14:20:37 +0000 (15:20 +0100)
commit97baf9d9f768caac57bb98d79a1d878181e8a052
tree7f8fe20168dbad0d9692039158b1d0247191e094
parent5a4992834daec85c3913654903fb9f4f954e585a
migration: Avoid qerror_report_err() outside QMP command handlers

qerror_report_err() is a transitional interface to help with
converting existing monitor commands to QMP.  It should not be used
elsewhere.  Replace by error_report_err() in
process_incoming_migration_co().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/migration.c