]> git.proxmox.com Git - mirror_qemu.git/commit
vl: Fail right after first bad -object
authorMarkus Armbruster <armbru@redhat.com>
Fri, 13 Mar 2015 12:08:36 +0000 (13:08 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 8 Jun 2015 17:33:20 +0000 (19:33 +0200)
commit8122928a52248e28513c79d9b9929c6d20c866ea
tree8d6af9234be2d3f49d1ebeabade0a0eab9d9a654
parent8416abb3b0f42132fc6346c439ec543635075135
vl: Fail right after first bad -object

Failure to create an object with -object is a fatal error.  However,
we delay the actual exit until all -object are processed.  On the one
hand, this permits detection of genuine additional errors.  On the
other hand, it can muddy the waters with uninteresting additional
errors, e.g. when a later -object tries to reference a prior one that
failed.

We generally stop right on the first bad option, so do that for
-object as well.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
vl.c