summaryrefslogtreecommitdiffstats
path: root/migration.c
diff options
context:
space:
mode:
authorEdgar E. Iglesias2014-01-14 03:09:59 +0100
committerEdgar E. Iglesias2014-01-14 03:10:08 +0100
commit133fe77437d3a23bf1fd70a231b4f29d5fa0571c (patch)
tree89450efd322bd414e941e30dfc991652892e4a3e /migration.c
parentMicroblaze: Convert Microblaze-pic handling to GPIOs (diff)
parentmigration: qmp_migrate(): keep working after syntax error (diff)
downloadqemu-133fe77437d3a23bf1fd70a231b4f29d5fa0571c.tar.gz
qemu-133fe77437d3a23bf1fd70a231b4f29d5fa0571c.tar.xz
qemu-133fe77437d3a23bf1fd70a231b4f29d5fa0571c.zip
Merge remote branch 'luiz/queue/qmp' into qmpq
* luiz/queue/qmp: migration: qmp_migrate(): keep working after syntax error qerror: Remove assert_no_error() qemu-option: Remove qemu_opts_create_nofail target-i386: Remove assert_no_error usage hw: Remove assert_no_error usages qdev: Delete dead code error: Add error_abort monitor: add object-add (QMP) and object_add (HMP) command monitor: add object-del (QMP) and object_del (HMP) command qom: catch errors in object_property_add_child qom: fix leak for objects created with -object rng: initialize file descriptor to -1 qemu-monitor: HMP cpu-add wrapper vl: add missing transition debug->finish_migrate Message-Id: 1389045795-18706-1-git-send-email-lcapitulino@redhat.com Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'migration.c')
-rw-r--r--migration.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/migration.c b/migration.c
index e5f6b98023..7235c23ffe 100644
--- a/migration.c
+++ b/migration.c
@@ -450,6 +450,7 @@ void qmp_migrate(const char *uri, bool has_blk, bool blk,
#endif
} else {
error_set(errp, QERR_INVALID_PARAMETER_VALUE, "uri", "a valid migration protocol");
+ s->state = MIG_STATE_ERROR;
return;
}