From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQz6G-0007jG-2P for qemu-devel@nongnu.org; Thu, 26 Feb 2015 09:07:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQz6B-0007Xh-Ug for qemu-devel@nongnu.org; Thu, 26 Feb 2015 09:07:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQz6B-0007XX-NU for qemu-devel@nongnu.org; Thu, 26 Feb 2015 09:07:31 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1QE7Uig019007 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 26 Feb 2015 09:07:31 -0500 Received: from blackfin.pond.sub.org (ovpn-116-39.ams2.redhat.com [10.36.116.39]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t1QE7Tlx025937 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 26 Feb 2015 09:07:30 -0500 From: Markus Armbruster Date: Thu, 26 Feb 2015 15:07:15 +0100 Message-Id: <1424959648-14721-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PULL 00/13] QemuOpts: Convert various setters to Error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Bonus: improve qemu-img error reporting slightly. Changes since v1: * Straightforward rebase * Whitespace fix in PATCH 6 [Eric] * Comment polished in PATCH 9 [Eric] Because they're trivial, I'm requesting a pull without another round of review. The following changes since commit c5c6d7f81a6950d8e32a3b5a0bafd37bfa5a8e88: Merge remote-tracking branch 'remotes/armbru/tags/pull-error-2015-02-18' into staging (2015-02-26 07:01:08 +0000) are available in the git repository at: git://repo.or.cz/qemu/armbru.git tags/pull-error-2015-02-26 for you to fetch changes up to b3adf5acb57dee14a74e57ab4f16cd1a83e5a7d2: qtest: Use qemu_opt_set() instead of qemu_opts_parse() (2015-02-26 14:52:13 +0100) ---------------------------------------------------------------- QemuOpts: Convert various setters to Error ---------------------------------------------------------------- Markus Armbruster (13): QemuOpts: Convert qemu_opt_set_bool() to Error, fix its use QemuOpts: Convert qemu_opt_set_number() to Error, fix its use QemuOpts: Convert qemu_opts_set() to Error, fix its use qemu-img: Suppress unhelpful extra errors in convert, resize block: Suppress unhelpful extra errors in bdrv_img_create() QemuOpts: Drop qemu_opt_set(), rename qemu_opt_set_err(), fix use QemuOpts: Propagate errors through opts_do_parse() QemuOpts: Propagate errors through opts_parse() qemu-img: Suppress unhelpful extra errors in convert, amend block: Simplify setting numeric options qemu-sockets: Simplify setting numeric and boolean options pc: Use qemu_opt_set() instead of qemu_opts_parse() qtest: Use qemu_opt_set() instead of qemu_opts_parse() block.c | 17 +++++--- block/nbd.c | 3 +- block/qcow2.c | 5 ++- block/vvfat.c | 5 ++- blockdev.c | 25 ++++++------ hw/i386/pc.c | 11 ++--- hw/pci/pci-hotplug-old.c | 2 +- hw/usb/dev-network.c | 4 +- hw/usb/dev-storage.c | 6 +-- hw/watchdog/watchdog.c | 2 +- include/qemu/option.h | 18 +++++---- net/net.c | 6 +-- qdev-monitor.c | 6 +-- qemu-char.c | 68 +++++++++++++++++-------------- qemu-img.c | 44 ++++++++++++++------ qtest.c | 11 ++--- tests/test-qemu-opts.c | 38 +++++++++--------- util/qemu-config.c | 9 ++++- util/qemu-option.c | 100 +++++++++++++++++++++++----------------------- util/qemu-sockets.c | 42 +++++++++---------- vl.c | 102 ++++++++++++++++++++++++++--------------------- 21 files changed, 284 insertions(+), 240 deletions(-) -- 1.9.3