Re: [libvirt] [PATCH v2 2/9] New functions for virBitmap

2012-09-07 Thread Hu Tao
On Thu, Sep 06, 2012 at 11:17:58PM -0600, Eric Blake wrote: On 09/06/2012 04:13 AM, Hu Tao wrote: In many places we store bitmap info in a chunk of data (pointed to by a char *), and have redundant codes to set/unset bits. This patch extends virBitmap, and convert those codes to use

Re: [libvirt] [PATCH v2 2/9] New functions for virBitmap

2012-09-07 Thread Hu Tao
On Thu, Sep 06, 2012 at 11:23:49PM -0600, Eric Blake wrote: On 09/06/2012 11:17 PM, Eric Blake wrote: On 09/06/2012 04:13 AM, Hu Tao wrote: In many places we store bitmap info in a chunk of data (pointed to by a char *), and have redundant codes to set/unset bits. This patch extends

[libvirt] [PATCH v2 2/9] New functions for virBitmap

2012-09-06 Thread Hu Tao
In many places we store bitmap info in a chunk of data (pointed to by a char *), and have redundant codes to set/unset bits. This patch extends virBitmap, and convert those codes to use virBitmap in subsequent patches. --- .gitignore |1 + src/libvirt_private.syms | 11 ++

Re: [libvirt] [PATCH v2 2/9] New functions for virBitmap

2012-09-06 Thread Eric Blake
On 09/06/2012 04:13 AM, Hu Tao wrote: In many places we store bitmap info in a chunk of data (pointed to by a char *), and have redundant codes to set/unset bits. This patch extends virBitmap, and convert those codes to use virBitmap in subsequent patches. --- struct _virBitmap { -

Re: [libvirt] [PATCH v2 2/9] New functions for virBitmap

2012-09-06 Thread Eric Blake
On 09/06/2012 11:17 PM, Eric Blake wrote: On 09/06/2012 04:13 AM, Hu Tao wrote: In many places we store bitmap info in a chunk of data (pointed to by a char *), and have redundant codes to set/unset bits. This patch extends virBitmap, and convert those codes to use virBitmap in subsequent