[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/3] migrate_incoming: use hmp_handle_error
From: |
Dr. David Alan Gilbert (git) |
Subject: |
[Qemu-devel] [PATCH 1/3] migrate_incoming: use hmp_handle_error |
Date: |
Thu, 26 Feb 2015 14:54:39 +0000 |
From: "Dr. David Alan Gilbert" <address@hidden>
Signed-off-by: Dr. David Alan Gilbert <address@hidden>
---
hmp.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/hmp.c b/hmp.c
index 761e5ef..e713e06 100644
--- a/hmp.c
+++ b/hmp.c
@@ -1091,11 +1091,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)
--
2.1.0