Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9RlU-0006e2-Gs for qemu-devel@nongnu.org; Tue, 04 May 2010 19:43:00 -0400 Received: from [140.186.70.92] (port=51209 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9RlS-0006bZ-SL for qemu-devel@nongnu.org; Tue, 04 May 2010 19:43:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9RlR-0007Z4-CH for qemu-devel@nongnu.org; Tue, 04 May 2010 19:42:58 -0400 Received: from cantor.suse.de ([195.135.220.2]:56519 helo=mx1.suse.de) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9RlR-0007Yt-4X for qemu-devel@nongnu.org; Tue, 04 May 2010 19:42:57 -0400 Date: Wed, 5 May 2010 01:42:54 +0200 (CEST) From: Reinhard Max Subject: Re: [Qemu-devel] Patch to improve handling of server sockets In-Reply-To: <4BE0960E.5000407@redhat.com> Message-ID: References: <4BE049F5.6050105@codemonkey.ws> <4BE0960E.5000407@redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org On Tue, 4 May 2010 at 23:47, Gerd Hoffmann wrote: > My tigervnc (tightvnc successor) has IPv6 support and handles this > just fine. Well, as I wrote, the code is not just used for vnc, but also for server sockets that (if I got that right) could be connected from telnet or netcat implementations that don't speak IPv6. > When going for multiple listening sockets in qemu we have to figure > how we'll handle this in a number of places as there is no single > listening address any more. Well, that's what my patch is about. Did you take a look at it? > Reporting the vnc server address in QMP is one. Not sure what QMP is (this was the first time I looked at QEMU's internals), but I think my patch only leaves one place TODO where I chose to report only the first address for now, but it shouldn't be too hard to fix that as well. BTW, in some places I circumvented the need for reporting multiple addresses by simply reporting the name that was passed to QEMU instead. cu Reinhard