From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXBN5-0006Qc-6g for qemu-devel@nongnu.org; Sun, 24 Aug 2008 04:54:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXBN4-0006Pe-9g for qemu-devel@nongnu.org; Sun, 24 Aug 2008 04:54:50 -0400 Received: from [199.232.76.173] (port=38489 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXBN3-0006PJ-E3 for qemu-devel@nongnu.org; Sun, 24 Aug 2008 04:54:49 -0400 Received: from il.qumranet.com ([212.179.150.194]:12843) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KXBN2-0006qx-VC for qemu-devel@nongnu.org; Sun, 24 Aug 2008 04:54:49 -0400 Message-ID: <48B121D6.6060008@qumranet.com> Date: Sun, 24 Aug 2008 11:54:46 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] vnc port selection References: <48AD99CF.6070004@redhat.com> <48ADB43D.9050401@qumranet.com> <48ADB58D.9070409@codemonkey.ws> In-Reply-To: <48ADB58D.9070409@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 Cc: Xen Development Mailing List Anthony Liguori wrote: > >> Alternatively, have the management application pass an fd denoting >> the socket. > > If you are allocating the ports in the management tool, then just tell > QEMU what port to open up. I don't think you gain anything passing an > fd. > It prevents races, allows listening on non-traditional sockets (vnc over unix-domain), and allows privilege separation. -- error compiling committee.c: too many arguments to function