migrate_incoming: Cleanup/clarify error messages
commit4debb5f553d816bf1f2d86bb61e833e79010cb3d
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 26 Feb 2015 14:54:41 +0000 (26 14:54 +0000)
committerJuan Quintela <quintela@redhat.com>
Tue, 17 Mar 2015 14:20:37 +0000 (17 15:20 +0100)
tree1d694da48cd7bb1b90e8533c502428ac19e02d9d
parentd87605347879b67f156af085d772ab88cde40820
migrate_incoming: Cleanup/clarify error messages

Create a separate error for the case where migrate_incoming is
used after a succesful migrate_incoming.

Reword the error in the case where '-incoming defer' is missing
to omit the command name so it's right for both hmp and qmp.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/migration.c