From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKl7W-00057G-HW for qemu-devel@nongnu.org; Fri, 22 Aug 2014 05:27:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKl7N-00031X-7e for qemu-devel@nongnu.org; Fri, 22 Aug 2014 05:26:54 -0400 Received: from mx-v6.kamp.de ([2a02:248:0:51::16]:48404 helo=mx01.kamp.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKl7M-00031G-Rp for qemu-devel@nongnu.org; Fri, 22 Aug 2014 05:26:45 -0400 From: Peter Lieven Date: Fri, 22 Aug 2014 11:26:05 +0200 Message-Id: <1408699567-6940-1-git-send-email-pl@kamp.de> Subject: [Qemu-devel] [PATCH 0/2] introduce bitmap_try_new List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, Peter Lieven , stefanha@redhat.com this adds a new helper to handle errors when allocation a bitmap and also introduces its first user. Peter Lieven (2): util: introduce bitmap_try_new block/iscsi: handle failure on malloc of the allocationmap block/iscsi.c | 22 +++++++++++++++------- include/qemu/bitmap.h | 6 ++++++ 2 files changed, 21 insertions(+), 7 deletions(-) -- 1.7.9.5