From: Ian Jackson Subject: Re: [PATCH v2 COLOPre 10/13] tools/libxl: Add back channel to allow migration target send data back Date: Tue, 16 Jun 2015 11:58:27 +0100 Message-ID: <21888.339.671981.206784@mariner.uk.xensource.com> References: <1433734997-26570-1-git-send-email-yanghy@cn.fujitsu.com> <1433734997-26570-11-git-send-email-yanghy@cn.fujitsu.com> <20150612125429.GO14606@zion.uk.xensource.com> <21882.62720.890610.633137@mariner.uk.xensource.com> <557E2CAF.3060505@cn.fujitsu.com> <1434451937.13744.99.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1434451937.13744.99.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Wei Liu , wency@cn.fujitsu.com, andrew.cooper3@citrix.com, yunhong.jiang@intel.com, eddie.dong@intel.com, xen-devel@lists.xen.org, guijianfeng@cn.fujitsu.com, rshriram@cs.ubc.ca, Yang Hongyang List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH v2 COLOPre 10/13] tools/libxl: Add back channel to allow migration target send data back"): > On Mon, 2015-06-15 at 09:38 +0800, Yang Hongyang wrote: > > Then I'll just extend the params of libxl_domain_create_restore(). > > One question first: is it really to be expected that send_fd and recv_fd > will be different, as opposed to the bidirectional data going over the > same socket? If this is supposed to be able to work over a pipe, and ssh, then yes. Even if you give ssh copies of the same socketpair fd on 0 and 1, sshd's child gets ends of two different pipes on 0 and 1. Ian.