[PATCH 1/6] virBitmapNewCopy: Reimplement bitmap copying to prevent failure

Ján Tomko jtomko at redhat.com
Fri Oct 2 12:16:29 UTC 2020


On a Friday in 2020, Peter Krempa wrote:
>virBitmapCopy has a failure condition, which is impossible to meet when
>creating a new copy. Copy the contents directly to make it obvious that
>virBitmapNewCopy can't fail.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/util/virbitmap.c | 10 ++--------
> 1 file changed, 2 insertions(+), 8 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20201002/470c0e23/attachment-0001.sig>


More information about the libvir-list mailing list