diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2015-02-26 14:54:39 +0000 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2015-03-17 15:20:37 +0100 |
commit | 1fa57f5543aaff62a6fff63782e6c7dd54773628 (patch) | |
tree | fc20d7ee7083ae78b11fadda2fc357f69c3af0ec /hmp.c | |
parent | fbce8c25d886b207ebb290d911a7d99abd652676 (diff) | |
download | qemu-1fa57f5543aaff62a6fff63782e6c7dd54773628.zip |
migrate_incoming: use hmp_handle_error
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>
Diffstat (limited to 'hmp.c')
-rw-r--r-- | hmp.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1123,11 +1123,7 @@ void hmp_migrate_incoming(Monitor *mon, const QDict *qdict) qmp_migrate_incoming(uri, &err); - if (err) { - monitor_printf(mon, "%s\n", error_get_pretty(err)); - error_free(err); - return; - } + hmp_handle_error(mon, &err); } void hmp_migrate_set_downtime(Monitor *mon, const QDict *qdict) |