Re: [libvirt] [PATCH v2] util: Add a helper to check if all bits of a bitmap are clear

2013-04-05 Thread Osier Yang
On 05/04/13 23:59, Eric Blake wrote: On 04/05/2013 10:32 AM, Osier Yang wrote: --- src/libvirt_private.syms | 1 + src/util/virbitmap.c | 17 + src/util/virbitmap.h | 3 +++ 3 files changed, 21 insertions(+) The implementation looks correct, but I still think this

Re: [libvirt] [PATCH v2] util: Add a helper to check if all bits of a bitmap are clear

2013-04-05 Thread Eric Blake
On 04/05/2013 10:32 AM, Osier Yang wrote: > --- > src/libvirt_private.syms | 1 + > src/util/virbitmap.c | 17 + > src/util/virbitmap.h | 3 +++ > 3 files changed, 21 insertions(+) The implementation looks correct, but I still think this patch should be the one that enha

[libvirt] [PATCH v2] util: Add a helper to check if all bits of a bitmap are clear

2013-04-05 Thread Osier Yang
--- src/libvirt_private.syms | 1 + src/util/virbitmap.c | 17 + src/util/virbitmap.h | 3 +++ 3 files changed, 21 insertions(+) diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index b7b9631..6b831b3 100644 --- a/src/libvirt_private.syms +++ b/src/libvir