Re: [Xen-devel] [PATCH v6 11/18] tools/libxl: Add back channel to allow migration target send data back

2016-01-25 Thread Wen Congyang
On 01/26/2016 03:17 AM, Konrad Rzeszutek Wilk wrote: > On Wed, Dec 30, 2015 at 10:29:01AM +0800, Wen Congyang wrote: >> In colo mode, slave needs to send data to master, but the io_fd > > > > In previous patches you used COLO in all caps, can that be uniform > across the patches? OK, I will

Re: [Xen-devel] [PATCH v6 11/18] tools/libxl: Add back channel to allow migration target send data back

2016-01-25 Thread Konrad Rzeszutek Wilk
On Wed, Dec 30, 2015 at 10:29:01AM +0800, Wen Congyang wrote: > In colo mode, slave needs to send data to master, but the io_fd In previous patches you used COLO in all caps, can that be uniform across the patches? Also, slave == secondary and master == primary? Perhaps you could

[Xen-devel] [PATCH v6 11/18] tools/libxl: Add back channel to allow migration target send data back

2015-12-29 Thread Wen Congyang
In colo mode, slave needs to send data to master, but the io_fd only can be written in master, and only can be read in slave. Save recv_fd in domain_suspend_state, and send_fd in domain_create_state. Extend libxl_domain_create_restore API, add a send_fd param to it. Add