Re: [Xen-devel] [RFC PATCH COLO v5 08/29] tools/libxl: Introduce bitops macros

2015-04-23 Thread Wen Congyang
On 04/22/2015 11:10 PM, Ian Campbell wrote: > On Wed, 2015-04-01 at 14:41 +0800, Yang Hongyang wrote: >> From: Wen Congyang >> >> This is the same set used by libxc. > > What is this for? > > libxl already exposes a fairly complete libxl_bitmap type and helpers > for use in its own interfaces an

Re: [Xen-devel] [RFC PATCH COLO v5 08/29] tools/libxl: Introduce bitops macros

2015-04-22 Thread Ian Campbell
On Wed, 2015-04-01 at 14:41 +0800, Yang Hongyang wrote: > From: Wen Congyang > > This is the same set used by libxc. What is this for? libxl already exposes a fairly complete libxl_bitmap type and helpers for use in its own interfaces and by its users. For libxl's internal purposes (i.e. to in

[Xen-devel] [RFC PATCH COLO v5 08/29] tools/libxl: Introduce bitops macros

2015-03-31 Thread Yang Hongyang
From: Wen Congyang This is the same set used by libxc. Signed-off-by: Wen Congyang --- tools/libxl/libxl_bitops.h | 79 ++ 1 file changed, 79 insertions(+) create mode 100644 tools/libxl/libxl_bitops.h diff --git a/tools/libxl/libxl_bitops.h b/tool