From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNMua-0006dx-31 for qemu-devel@nongnu.org; Mon, 16 Feb 2015 09:44:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNMuT-00042X-3J for qemu-devel@nongnu.org; Mon, 16 Feb 2015 09:44:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNMuS-000420-NZ for qemu-devel@nongnu.org; Mon, 16 Feb 2015 09:44:28 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1GEiRJN018102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 16 Feb 2015 09:44:27 -0500 From: Markus Armbruster Date: Mon, 16 Feb 2015 15:44:12 +0100 Message-Id: <1424097865-3973-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PATCH 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 Cc: kwolf@redhat.com, kraxel@redhat.com, stefanha@redhat.com Bonus: improve qemu-img error reporting slightly. Perhaps the block maintainers want to pick this up. If not, I'm happy to route it through my tree. 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