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


Reply via email to