]> xenbits.xensource.com Git - libvirt.git/commit
util: bitmap: Unify parsing of bitmaps
authorPeter Krempa <pkrempa@redhat.com>
Mon, 6 Dec 2021 15:28:44 +0000 (16:28 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 10 Dec 2021 15:36:25 +0000 (16:36 +0100)
commitf33c86be1df7356fe6ef257769f52981528311a7
tree78fa07fe6bc45898de5b49b249d162fdc742f4d0
parent515672c0d9025642189df58fa17ef75820863b87
util: bitmap: Unify parsing of bitmaps

There were two separate instances of string->virBitmap code:
virBitmapParseInternal and virBitmapParseUnlimited.

By adding a flag to switch to expanding APIs we can merge the two
implementations into one.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virbitmap.c