Received: from eggs.gnu.org ([2001:4830:134:3::10]:49744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxFaV-0006In-9D for qemu-devel@nongnu.org; Tue, 26 May 2015 10:12:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxFaQ-0003bE-AR for qemu-devel@nongnu.org; Tue, 26 May 2015 10:12:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxFaQ-0003bA-5N for qemu-devel@nongnu.org; Tue, 26 May 2015 10:12:06 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id CC28556 for ; Tue, 26 May 2015 14:12:05 +0000 (UTC) From: Markus Armbruster References: <1432294585-5984-1-git-send-email-armbru@redhat.com> <1432294585-5984-5-git-send-email-armbru@redhat.com> <555FA2E4.2000409@redhat.com> <87iobfem19.fsf@blackfin.pond.sub.org> <1432644705.24602.8.camel@nilsson.home.kraxel.org> <20150526125241.GA30049@redhat.com> Date: Tue, 26 May 2015 16:12:02 +0200 In-Reply-To: <20150526125241.GA30049@redhat.com> (Daniel P. Berrange's message of "Tue, 26 May 2015 13:52:41 +0100") Message-ID: <87lhgb4edp.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 04/20] monitor: Convert client_migrate_info to QAPI List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: qemu-devel@nongnu.org, Gerd Hoffmann , lcapitulino@redhat.com "Daniel P. Berrange" writes: > On Tue, May 26, 2015 at 02:51:45PM +0200, Gerd Hoffmann wrote: >> Hi, >> >> > >> +# >> > >> +# Set the spice/vnc connection info for the migration target. The >> > >> +# spice/vnc server will ask the spice/vnc client to automatically >> > >> +# reconnect using the new parameters (if specified) once the vm >> > >> +# migration finished successfully. Not yet implemented for VNC. >> > >> +# >> > >> +# @protocol: must be "spice" >> > >> +# @hostname: migration target hostname >> > >> +# @port: #optional spice/vnc tcp port for plaintext channels >> > > >> > > Is it worth documenting vnc, when we just stated earlier that protocol >> > > must be spice? >> > >> > I think this is a question for Gerd (cc'ed). >> >> IIRC Daniel (added to Cc:) had plans to create a vnc extension for that. >> >> Which was the reason to explicitly add the protocol here, so we can use >> the same command for both spice and vnc some day. > > Yeah, it would be nice to do a VNC extension, though realistically I'm > not going to have time for that anytime in the forseeable future. Should we continue to document the command is about "spice/vnc connection info", or should we rephrase? Something like: client_migrate_info ------------------- Set remote display connection information for migration. This makes the server ask the client to automatically reconnect using the new parameters once migration finished successfully. Only implemented for SPICE. Arguments: - "protocol": must be "spice" (json-string) - "hostname": migration target hostname (json-string) - "port": spice/vnc tcp port for plaintext channels (json-int, optional) - "tls-port": spice tcp port for tls-secured channels (json-int, optional) - "cert-subject": server certificate subject (json-string, optional)