From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WR95F-0000Mq-Nx for qemu-devel@nongnu.org; Fri, 21 Mar 2014 19:42:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WR959-0002Na-M4 for qemu-devel@nongnu.org; Fri, 21 Mar 2014 19:42:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WR959-0002MW-Dm for qemu-devel@nongnu.org; Fri, 21 Mar 2014 19:42:35 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s2LNgYl7032402 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 21 Mar 2014 19:42:34 -0400 From: Cole Robinson Date: Fri, 21 Mar 2014 19:42:19 -0400 Message-Id: Subject: [Qemu-devel] [PATCH v2 0/9] error: Misc cleanups and improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Luiz Capitulino , Markus Armbruster , Cole Robinson Minor error API cleanups, and one error reporting improvement when connected to qmp (patch #5) v2: Dropped the error_printf_unless_qmp patch Added the last 4 patches, new cleanups Use error_report instead of fprintf in patch 1 and 2 Cc: Luiz Capitulino Cc: Markus Armbruster Cole Robinson (9): slirp: Remove default_mon usage vnc: Remove default_mon usage error: Privatize error_print_loc monitor: Remove unused monitor_print_filename error: Print error_report() to stderr if using qmp qerror.h: Remove unused error classes qerror.h: Remove QERR defines that are only used once qerror.h: Replace QERR_NOT_SUPPORTED with QERR_UNSUPPORTED error: Remove some unused headers block/commit.c | 2 +- blockdev.c | 9 ++++-- blockjob.c | 2 +- hw/9pfs/virtio-9p.c | 5 +-- hw/core/qdev-properties.c | 9 +++--- hw/misc/ivshmem.c | 4 +-- include/monitor/monitor.h | 1 - include/qapi/qmp/qerror.h | 79 --------------------------------------------- include/qemu/error-report.h | 1 - monitor.c | 27 ---------------- qapi/qmp-dispatch.c | 3 +- qapi/qmp-input-visitor.c | 2 +- qdev-monitor.c | 12 ++++--- qmp.c | 2 +- qobject/json-parser.c | 2 +- qom/object.c | 5 +-- savevm.c | 3 +- slirp/misc.c | 13 ++------ slirp/slirp.c | 8 ++--- slirp/slirp.h | 2 -- stubs/Makefile.objs | 1 - stubs/arch-query-cpu-def.c | 2 +- stubs/mon-print-filename.c | 6 ---- ui/vnc.c | 4 +-- util/error.c | 5 +-- util/qemu-config.c | 2 +- util/qemu-error.c | 4 +-- util/qemu-option.c | 2 +- 28 files changed, 50 insertions(+), 167 deletions(-) delete mode 100644 stubs/mon-print-filename.c -- 1.8.5.3