Commit 4aead692 authored by Eric Blake's avatar Eric Blake Committed by Anthony Liguori

migration: reflect incoming failure to shell

Management apps like libvirt don't know to pay attention to
stderr unless there is a non-zero exit status.

* migration.c (process_incoming_migration_co): Exit with non-zero
status on failure.
Signed-off-by: default avatarEric Blake <>
Signed-off-by: default avatarAnthony Liguori <>
parent 95e2af98
......@@ -99,7 +99,7 @@ static void process_incoming_migration_co(void *opaque)
if (ret < 0) {
fprintf(stderr, "load of migration failed\n");
DPRINTF("successfully loaded vm state\n");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment