From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLGyI-0004vR-Uw for qemu-devel@nongnu.org; Tue, 10 Feb 2015 14:59:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLGyI-0001J3-2X for qemu-devel@nongnu.org; Tue, 10 Feb 2015 14:59:46 -0500 Date: Tue, 10 Feb 2015 19:59:36 +0000 From: "Dr. David Alan Gilbert" Message-ID: <20150210195935.GI2376@work-vm> References: <1423597526-18483-1-git-send-email-mjt@msgid.tls.msk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1423597526-18483-1-git-send-email-mjt@msgid.tls.msk.ru> Subject: Re: [Qemu-devel] [PATCH] qemu-options: fix/document -incoming options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org * Michael Tokarev (mjt@tls.msk.ru) wrote: > Signed-off-by: Michael Tokarev > --- > qemu-options.hx | 24 +++++++++++++++++++++--- > 1 file changed, 21 insertions(+), 3 deletions(-) > > diff --git a/qemu-options.hx b/qemu-options.hx > index ee4b223..a2c071a 100644 > --- a/qemu-options.hx > +++ b/qemu-options.hx > @@ -3195,12 +3195,30 @@ Set TB size. > ETEXI > > DEF("incoming", HAS_ARG, QEMU_OPTION_incoming, \ > - "-incoming p prepare for incoming migration, listen on port p\n", > + "-incoming tcp:[host]:port[,to=maxport][,ipv4][,ipv6]\n" \ > + "-incoming rdma:[host]:port[,to=maxport][,ipv4][,ipv6]\n" \ > + "-incoming unix:socketpath\n" \ > + " prepare for incoming migration, listen on\n" \ > + " specified protocol and socket address\n" \ > + "-incoming fd:fd\n" \ > + "-incoming exec:cmdline\n" \ > + " accept incoming migration on given file descriptor\n" \ > + " or from given external command\n", > QEMU_ARCH_ALL) > STEXI > -@item -incoming @var{port} > +@item -incoming tcp:[@var{host}]:@var{port}[,to=@var{maxport}][,ipv4][,ipv6] > +@item -incoming rdma:[@var{host}]:@var{port}[,to=@var{maxport}][,ipv4][,ipv6] > @findex -incoming > -Prepare for incoming migration, listen on @var{port}. > +Prepare for incoming migration, listen on a given tcp port. I'm not convinced the RDMA code can handle the to= option, it parses it but if you try and start two things on the same port it errors. I also think that the bind address is a required for the RDMA code. Dave > + > +@item -incoming unix:@var{socketpath} > +Prepare for incoming migration, listen on a given unix socket. > + > +@item -incoming fd:@var{fd} > +Accept incoming migration from a given filedescriptor. > + > +@item -incoming exec:@var{cmdline} > +Accept incoming migration as an output from specified external command. > ETEXI > > DEF("nodefaults", 0, QEMU_OPTION_nodefaults, \ > -- > 2.1.4 > -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK