From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I2ZtS-0003YT-9Z for qemu-devel@nongnu.org; Sun, 24 Jun 2007 17:45:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I2ZtP-0003YH-RX for qemu-devel@nongnu.org; Sun, 24 Jun 2007 17:45:13 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I2ZtP-0003YE-Lu for qemu-devel@nongnu.org; Sun, 24 Jun 2007 17:45:11 -0400 Received: from mail.actcom.net.il ([192.114.47.66] helo=smtp4.actcom.co.il) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I2ZtO-0000xu-Vc for qemu-devel@nongnu.org; Sun, 24 Jun 2007 17:45:11 -0400 Received: from [192.168.1.105] (l192-117-111-195.broadband.actcom.net.il [192.117.111.195]) by smtp4.actcom.co.il (8.13.6/8.13.6) with ESMTP id l5OLj4c1002129 for ; Mon, 25 Jun 2007 00:45:08 +0300 Message-ID: <467EE5E0.5010605@codefidence.com> Date: Mon, 25 Jun 2007 00:45:04 +0300 From: Shahar Livne MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] starting qemu vnc session on a pre-allocated port References: <467E6C25.3010908@codefidence.com> <467E7AB0.1000909@codemonkey.ws> In-Reply-To: <467E7AB0.1000909@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Anthony Liguori wrote: > Shahar Livne wrote: >> Hi, >> >> I am working on a project that runs many concurrent qemu sessions >> with vnc. [..] >> Adding the following option: >> -vnc-socket sd [force VNC server on an already opened Socket >> Descriptor] > > Just redirect each port to a unique unix domain socket and then you > can forward traffic to TCP sockets to your heart's content. > > Regards, > > Anthony Liguori Hi Anthony, Thanks for your comment. The problem with the solution you suggest is that all VNC traffic will be first sent to the unix domain socket, and then copied to the TCP socket. This double work may be acceptable if we're talking about one instance of qemu, but as I said, I run many concurrent sessions which create too much load. In the solution I suggest, this extra copying is not needed. Regards, Shahar