aboutsummaryrefslogtreecommitdiff
path: root/qemu-file.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2014-01-16 17:34:37 +0100
committerLuiz Capitulino <lcapitulino@redhat.com>2014-01-28 11:28:08 -0500
commit90e9cf28e57a3e1d6caa0a28b0a332ff982ccb0b (patch)
treed830d0ccae85f7890e41782c6183a7342aa00511 /qemu-file.c
parent69252c046741a0955ddb90250f416a2199305091 (diff)
downloadqemu-90e9cf28e57a3e1d6caa0a28b0a332ff982ccb0b.zip
qemu-90e9cf28e57a3e1d6caa0a28b0a332ff982ccb0b.tar.gz
qemu-90e9cf28e57a3e1d6caa0a28b0a332ff982ccb0b.tar.bz2
vl.c: -object: don't ignore duplicate 'id'
object_property_add_child() may fail if 'id' matches an already existing object. Which means an incorrect command line. So instead of silently ignoring error, report it and terminate QEMU. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qemu-file.c')
0 files changed, 0 insertions, 0 deletions