[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCHv2 0/2] introduce bitmap_try_new
From: |
Peter Lieven |
Subject: |
[Qemu-devel] [PATCHv2 0/2] introduce bitmap_try_new |
Date: |
Tue, 30 Sep 2014 09:09:10 +0200 |
this adds a new helper to handle errors when allocation a bitmap and
also introduces its first user.
v1->v2: - derive bitmap_new from bitmap_try_new (Eric)
- fail if allocation fails in iscsi_open (Paolo)
Peter Lieven (2):
util: introduce bitmap_try_new
block/iscsi: handle failure on malloc of the allocationmap
block/iscsi.c | 19 ++++++++++++-------
include/qemu/bitmap.h | 13 +++++++++++--
2 files changed, 23 insertions(+), 9 deletions(-)
--
1.7.9.5
- [Qemu-devel] [PATCHv2 0/2] introduce bitmap_try_new,
Peter Lieven <=