qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCHv2 0/2] introduce bitmap_try_new
@ 2014-09-30  7:09 Peter Lieven
  2014-09-30  7:09 ` [Qemu-devel] [PATCHv2 1/2] util: " Peter Lieven
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Peter Lieven @ 2014-09-30  7:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, stefanha, Peter Lieven, ronniesahlberg, pbonzini

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-10-01 16:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-30  7:09 [Qemu-devel] [PATCHv2 0/2] introduce bitmap_try_new Peter Lieven
2014-09-30  7:09 ` [Qemu-devel] [PATCHv2 1/2] util: " Peter Lieven
2014-10-01 16:32   ` Dr. David Alan Gilbert
2014-09-30  7:09 ` [Qemu-devel] [PATCHv2 2/2] block/iscsi: handle failure on malloc of the allocationmap Peter Lieven
2014-09-30 10:12 ` [Qemu-devel] [PATCHv2 0/2] introduce bitmap_try_new Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).