qemu-devel
[Top][All Lists]
Advanced

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

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


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH v2 0/2] block: fix libvirt snapshot with existing bitmaps
Date: Tue, 14 Jun 2016 20:09:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

On 14.06.2016 19:08, Vladimir Sementsov-Ogievskiy wrote:
> 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(+)

Thanks Vladimir, I've applied the series to my block branch:

https://github.com/XanClic/qemu/commits/block

Max

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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