Re: [Xen-devel] [PATCH v2 COLOPre 04/13] tools/libxc: export xc_bitops.h

2015-06-14 Thread Yang Hongyang
On 06/11/2015 06:55 PM, Ian Campbell wrote: On Thu, 2015-06-11 at 11:45 +0100, Andrew Cooper wrote: On 11/06/15 09:41, Ian Campbell wrote: On Thu, 2015-06-11 at 10:07 +0800, Yang Hongyang wrote: On 06/10/2015 11:20 PM, Ian Campbell wrote: On Mon, 2015-06-08 at 11:43 +0800, Yang Hongyang wro

Re: [Xen-devel] [PATCH v2 COLOPre 04/13] tools/libxc: export xc_bitops.h

2015-06-11 Thread Ian Campbell
On Thu, 2015-06-11 at 11:45 +0100, Andrew Cooper wrote: > On 11/06/15 09:41, Ian Campbell wrote: > > On Thu, 2015-06-11 at 10:07 +0800, Yang Hongyang wrote: > >> On 06/10/2015 11:20 PM, Ian Campbell wrote: > >>> On Mon, 2015-06-08 at 11:43 +0800, Yang Hongyang wrote: > When we are under COLO,

Re: [Xen-devel] [PATCH v2 COLOPre 04/13] tools/libxc: export xc_bitops.h

2015-06-11 Thread Andrew Cooper
On 11/06/15 09:41, Ian Campbell wrote: > On Thu, 2015-06-11 at 10:07 +0800, Yang Hongyang wrote: >> On 06/10/2015 11:20 PM, Ian Campbell wrote: >>> On Mon, 2015-06-08 at 11:43 +0800, Yang Hongyang wrote: When we are under COLO, we will send dirty page bitmap info from secondary to primary

Re: [Xen-devel] [PATCH v2 COLOPre 04/13] tools/libxc: export xc_bitops.h

2015-06-11 Thread Ian Campbell
On Thu, 2015-06-11 at 10:07 +0800, Yang Hongyang wrote: > > On 06/10/2015 11:20 PM, Ian Campbell wrote: > > On Mon, 2015-06-08 at 11:43 +0800, Yang Hongyang wrote: > >> When we are under COLO, we will send dirty page bitmap info from > >> secondary to primary at every checkpoint. > > > > ... and t

Re: [Xen-devel] [PATCH v2 COLOPre 04/13] tools/libxc: export xc_bitops.h

2015-06-10 Thread Yang Hongyang
On 06/10/2015 11:20 PM, Ian Campbell wrote: On Mon, 2015-06-08 at 11:43 +0800, Yang Hongyang wrote: When we are under COLO, we will send dirty page bitmap info from secondary to primary at every checkpoint. ... and this is a _libxl_ operation? Is that the right layer here? For the first qu

Re: [Xen-devel] [PATCH v2 COLOPre 04/13] tools/libxc: export xc_bitops.h

2015-06-10 Thread Ian Campbell
On Mon, 2015-06-08 at 11:43 +0800, Yang Hongyang wrote: > When we are under COLO, we will send dirty page bitmap info from > secondary to primary at every checkpoint. ... and this is a _libxl_ operation? Is that the right layer here? > So we need to get/test > the dirty page bitmap. We just expo

Re: [Xen-devel] [PATCH v2 COLOPre 04/13] tools/libxc: export xc_bitops.h

2015-06-08 Thread Yang Hongyang
Just to note that xc_bitops.h needs cleanup as Andy pointed out in v1... It will done in v3. On 06/08/2015 11:43 AM, Yang Hongyang wrote: When we are under COLO, we will send dirty page bitmap info from secondary to primary at every checkpoint. So we need to get/test the dirty page bitmap. We ju

[Xen-devel] [PATCH v2 COLOPre 04/13] tools/libxc: export xc_bitops.h

2015-06-07 Thread Yang Hongyang
When we are under COLO, we will send dirty page bitmap info from secondary to primary at every checkpoint. So we need to get/test the dirty page bitmap. We just expose xc_bitops.h for libxl use. NOTE: Need to make clean and rerun configure to get it compiled. Signed-off-by: Yang Hongyang ---