From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:60751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9Kr1-0006AG-N0 for qemu-devel@nongnu.org; Sun, 18 Mar 2012 14:29:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9Kr0-00031V-0e for qemu-devel@nongnu.org; Sun, 18 Mar 2012 14:29:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9Kqz-00031J-Ow for qemu-devel@nongnu.org; Sun, 18 Mar 2012 14:29:17 -0400 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 q2IITG5H009608 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 18 Mar 2012 14:29:16 -0400 From: Alon Levy Date: Sun, 18 Mar 2012 19:29:08 +0100 Message-Id: <1332095353-19120-1-git-send-email-alevy@redhat.com> In-Reply-To: <1331765714-26209-1-git-send-email-alevy@redhat.com> References: <1331765714-26209-1-git-send-email-alevy@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/5] screendump qapi convertion List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Luiz Capitulino v3 changes: (Requested by Luiz Capitulino) rename helper to qemu_fopen_err don't touch unrelated subsystems move helper to osdep - I couldn't do it that way without dragging a lot of dependencies into libcacard which uses osdep-obj-y, so I split it so that there is now a osdep-no-qerror-obj-y that is solemnly used by libcacard and is contained in osdep-obj-y. rename some of the QERR codes, specifically most of them lost the OPEN_FILE substring. split the first patch in two, adding error codes and adding qemu_fopen_err v2 changes: split screendump convertion to an addition "add Error** param" handle various errors of fopen with new qerror codes Alon Levy (4): qerror: add error codes for fopen failure add qemu_fopen_err vga_hw_screen_dump: add Error** param qapi: convert screendump Luiz Capitulino (1): vga: ppm_save(): Return error on failure Makefile.objs | 8 +++++--- console.c | 5 +++-- console.h | 6 ++++-- hmp-commands.hx | 3 +-- hmp.c | 8 ++++++++ hmp.h | 1 + hw/blizzard.c | 5 +++-- hw/g364fb.c | 4 +++- hw/omap_lcdc.c | 4 +++- hw/qxl.c | 8 +++++--- hw/tcx.c | 13 +++++++++---- hw/vga.c | 15 ++++++++++----- hw/vga_int.h | 3 ++- hw/vmware_vga.c | 8 +++++--- libcacard/Makefile | 2 +- monitor.c | 6 ------ osdep-qerror.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ osdep-qerror.h | 8 ++++++++ osdep.c | 1 - qapi-schema.json | 24 ++++++++++++++++++++++++ qerror.c | 36 ++++++++++++++++++++++++++++++++++++ qerror.h | 27 +++++++++++++++++++++++++++ qmp-commands.hx | 5 +---- qmp.c | 5 +++++ 24 files changed, 216 insertions(+), 41 deletions(-) create mode 100644 osdep-qerror.c create mode 100644 osdep-qerror.h -- 1.7.9.3