qemu-option: Remove qemu_opts_create_nofail
commit87ea75d5e135c0527c6a9dbac4317913409f28c7
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Thu, 2 Jan 2014 02:49:17 +0000 (1 18:49 -0800)
committerLuiz Capitulino <lcapitulino@redhat.com>
Mon, 6 Jan 2014 20:02:30 +0000 (6 15:02 -0500)
treead01b184d1a7e79e87139bd73da3b1e84dadf990
parent00b810532446b1037aa5d299f181ac4d1d65aa9c
qemu-option: Remove qemu_opts_create_nofail

This is a boiler-plate _nofail variant of qemu_opts_create. Remove and
use error_abort in call sites.

null/0 arguments needs to be added for the id and fail_if_exists fields
in affected callsites due to argument inconsistency between the normal and
no_fail variants.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
21 files changed:
block/blkdebug.c
block/blkverify.c
block/curl.c
block/gluster.c
block/iscsi.c
block/nbd.c
block/qcow2.c
block/raw-posix.c
block/raw-win32.c
block/rbd.c
block/sheepdog.c
block/vvfat.c
blockdev.c
hw/watchdog/watchdog.c
include/qemu/option.h
qdev-monitor.c
qemu-img.c
util/qemu-config.c
util/qemu-option.c
util/qemu-sockets.c
vl.c