Re: [PATCH v1 4/7] virbitmap: Introduce virBitmapDoesIntersect

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

 



On 07/17/2014 10:12 AM, Michal Privoznik wrote:
> This internal API just checks if two bitmaps intersect or not.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/libvirt_private.syms |  1 +
>  src/util/virbitmap.c     | 20 ++++++++++++++++++++
>  src/util/virbitmap.h     |  3 +++
>  tests/virbitmaptest.c    | 26 ++++++++++++++++++++++++++
>  4 files changed, 50 insertions(+)
> 
> diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
> index 44403fd..256edd5 100644
> --- a/src/libvirt_private.syms
> +++ b/src/libvirt_private.syms
> @@ -1016,6 +1016,7 @@ virBitmapClearBit;
>  virBitmapCopy;
>  virBitmapCountBits;
>  virBitmapDataToString;
> +virBitmapDoesIntersect;

The naming sounds awkward.  Maybe virBitmapIntersects or
virBitmapHasIntersection would be better.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]