qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/2] block: fix libvirt snapshot with existing bi


From: Vladimir Sementsov-Ogievskiy
Subject: [Qemu-devel] [PATCH v2 0/2] block: fix libvirt snapshot with existing bitmaps
Date: Tue, 14 Jun 2016 20:08:11 +0300

v2:
 - additional patch with asserts for hbitmap. As BdrvDirtyBitmap is only
   an interlayer here, I decided to plase asserts into HBitmap public
   functions.
 - add comment
 - from Max's comments:
    - assert after if block
    - bitmap->size instead of bdrv_nb_sectors. It is not beautiful, but
      with bdrv_nb_sectors we have to handle error code here, which
      would be worse I think.

Vladimir Sementsov-Ogievskiy (2):
  hbitmap: add 'pos < size' asserts
  block: fix libvirt snapshot with existing bitmaps

 block/dirty-bitmap.c | 14 ++++++++++++++
 util/hbitmap.c       |  3 +++
 2 files changed, 17 insertions(+)

-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]