summaryrefslogtreecommitdiff
path: root/cmd.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-01-29 19:48:56 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-03 12:39:01 -0600
commit4a2594ddd35de7ae7c8cd9c6828cfe72245e6dc5 (patch)
tree864775d3bbcdf7a8bc4d472146649974f2f3491e /cmd.c
parentf34e5688536839d9f43da36beb9f330d802ece09 (diff)
downloadqemu-4a2594ddd35de7ae7c8cd9c6828cfe72245e6dc5.zip
qemu-option: Make qemu_opts_foreach() accumulate return values
Return the bitwise inclusive or of all return values instead of the last call's value. This lets you find out whether any of the calls returned a non-zero value. No functional change, as existing users either don't care for the value, or pass non-zero abort_on_failure, which breaks the loop on the first non-zero return value. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'cmd.c')
0 files changed, 0 insertions, 0 deletions