From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nn6vG-0003qF-6h for qemu-devel@nongnu.org; Thu, 04 Mar 2010 04:00:46 -0500 Received: from [199.232.76.173] (port=45400 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nn6vF-0003px-EZ for qemu-devel@nongnu.org; Thu, 04 Mar 2010 04:00:45 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nn6vE-0004OZ-1k for qemu-devel@nongnu.org; Thu, 04 Mar 2010 04:00:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57973) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nn6vD-0004O6-Kj for qemu-devel@nongnu.org; Thu, 04 Mar 2010 04:00:43 -0500 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o2490gSB001441 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 4 Mar 2010 04:00:42 -0500 From: Juan Quintela Date: Thu, 4 Mar 2010 10:00:29 +0100 Message-Id: Subject: [Qemu-devel] [PATCH v2 00/10] FORTIFY_SOURCE followup List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi Series updated with yesterday comments v2: - drop un-needed slirp exit() patch (kevin) - add qemu_write_full() documentation (danp) - use strerror(-errno) (kevin, pbonzini) Please review and apply. Later, Juan. v1: This series make: - all block *_create() functions return -errno instead of -1 - this makes that we can end writting errno/error at bdrv_create() callers (qemu-img) - once there found a double free problem in the error handling of vmdk, fixed it. - slirp: also check that system() was able to fork (amit noticed it) - daemonize: if we are unable to write into the pipe, print a message and exit. We can't really recover from that error (amit noticed it). Juan Quintela (10): cow: return errno instead of -1 slirp: check system() success qcow2: return errno instead of -1 qcow: return errno instead of -1 vmdk: return errno instead of -1 vmdk: make vmdk_snapshot_create return -errno vmdk: fix double free vmdk: share cleanup code block: print errno on error documentation: qemu_write_full don't work with non-blocking fd's block/cow.c | 5 +-- block/qcow.c | 8 ++-- block/qcow2.c | 18 +++++----- block/vmdk.c | 106 +++++++++++++++++++++++++++++++++++++-------------------- net/slirp.c | 2 +- osdep.c | 5 +++ qemu-img.c | 4 +- 7 files changed, 92 insertions(+), 56 deletions(-)