Re: [Qemu-devel] [PATCH 06/17] migration-local: add send_pipefd()

2013-12-03 Thread Lei Li
On 12/03/2013 07:52 PM, Paolo Bonzini wrote: Il 03/12/2013 12:19, Lei Li ha scritto: On 12/02/2013 05:33 PM, Daniel P. Berrange wrote: On Mon, Dec 02, 2013 at 05:19:06PM +0800, Lei Li wrote: This patch adds send_pipefd() to pass the pipe file descriptor to destination process. Signed-off-by:

Re: [Qemu-devel] [PATCH 06/17] migration-local: add send_pipefd()

2013-12-03 Thread Lei Li
On 12/03/2013 07:35 PM, Daniel P. Berrange wrote: On Tue, Dec 03, 2013 at 07:19:40PM +0800, Lei Li wrote: On 12/02/2013 05:33 PM, Daniel P. Berrange wrote: On Mon, Dec 02, 2013 at 05:19:06PM +0800, Lei Li wrote: This patch adds send_pipefd() to pass the pipe file descriptor to destination proc

Re: [Qemu-devel] [PATCH 06/17] migration-local: add send_pipefd()

2013-12-03 Thread Paolo Bonzini
Il 03/12/2013 12:19, Lei Li ha scritto: > On 12/02/2013 05:33 PM, Daniel P. Berrange wrote: >> On Mon, Dec 02, 2013 at 05:19:06PM +0800, Lei Li wrote: >>> This patch adds send_pipefd() to pass the pipe file descriptor >>> to destination process. >>> >>> Signed-off-by: Lei Li >>> --- >>> migratio

Re: [Qemu-devel] [PATCH 06/17] migration-local: add send_pipefd()

2013-12-03 Thread Daniel P. Berrange
On Tue, Dec 03, 2013 at 07:19:40PM +0800, Lei Li wrote: > On 12/02/2013 05:33 PM, Daniel P. Berrange wrote: > >On Mon, Dec 02, 2013 at 05:19:06PM +0800, Lei Li wrote: > >>This patch adds send_pipefd() to pass the pipe file descriptor > >>to destination process. > >> > >>Signed-off-by: Lei Li > >>-

Re: [Qemu-devel] [PATCH 06/17] migration-local: add send_pipefd()

2013-12-03 Thread Lei Li
On 12/02/2013 05:33 PM, Daniel P. Berrange wrote: On Mon, Dec 02, 2013 at 05:19:06PM +0800, Lei Li wrote: This patch adds send_pipefd() to pass the pipe file descriptor to destination process. Signed-off-by: Lei Li --- migration-local.c | 46 ++

Re: [Qemu-devel] [PATCH 06/17] migration-local: add send_pipefd()

2013-12-02 Thread Daniel P. Berrange
On Mon, Dec 02, 2013 at 05:19:06PM +0800, Lei Li wrote: > This patch adds send_pipefd() to pass the pipe file descriptor > to destination process. > > Signed-off-by: Lei Li > --- > migration-local.c | 46 ++ > 1 files changed, 46 insertions(+), 0 del

[Qemu-devel] [PATCH 06/17] migration-local: add send_pipefd()

2013-12-02 Thread Lei Li
This patch adds send_pipefd() to pass the pipe file descriptor to destination process. Signed-off-by: Lei Li --- migration-local.c | 46 ++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/migration-local.c b/migration-local.c index 92

Re: [Qemu-devel] [PATCH 06/17] migration-local: add send_pipefd()

2013-12-02 Thread Lei Li
On 11/29/2013 07:14 PM, Daniel P. Berrange wrote: On Fri, Nov 29, 2013 at 06:06:13PM +0800, Lei Li wrote: This patch adds send_pipefd() to pass the pipe file descriptor to destination process. Signed-off-by: Lei Li --- migration-local.c | 46 ++

Re: [Qemu-devel] [PATCH 06/17] migration-local: add send_pipefd()

2013-11-29 Thread Daniel P. Berrange
On Fri, Nov 29, 2013 at 06:06:13PM +0800, Lei Li wrote: > This patch adds send_pipefd() to pass the pipe file descriptor > to destination process. > > Signed-off-by: Lei Li > --- > migration-local.c | 46 ++ > 1 files changed, 46 insertions(+), 0 del

[Qemu-devel] [PATCH 06/17] migration-local: add send_pipefd()

2013-11-29 Thread Lei Li
This patch adds send_pipefd() to pass the pipe file descriptor to destination process. Signed-off-by: Lei Li --- migration-local.c | 46 ++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/migration-local.c b/migration-local.c index 92

Re: [Qemu-devel] [PATCH 06/17] migration-local: add send_pipefd()

2013-11-26 Thread Paolo Bonzini
Il 21/11/2013 10:11, Lei Li ha scritto: > +struct cmsghdr *cmptr; > +char req[1] = { 0x01 }; About this, see my reply to patch 8. > +if (pipefd < 0) { > +msg.msg_control = NULL; > +msg.msg_controllen = 0; > +/* Negative status means error */ > +req[0] =

[Qemu-devel] [PATCH 06/17] migration-local: add send_pipefd()

2013-11-21 Thread Lei Li
This patch adds send_pipefd() to pass the pipe file descriptor to destination process. Signed-off-by: Lei Li --- migration-local.c | 53 + 1 files changed, 53 insertions(+), 0 deletions(-) diff --git a/migration-local.c b/migration-local.c i