From: Avi Kivity Subject: Re: [Qemu-devel] vnc port selection Date: Sun, 24 Aug 2008 11:54:46 +0300 Message-ID: <48B121D6.6060008@qumranet.com> References: <48AD99CF.6070004@redhat.com> <48ADB43D.9050401@qumranet.com> <48ADB58D.9070409@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <48ADB58D.9070409@codemonkey.ws> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: qemu-devel@nongnu.org Cc: Xen Development Mailing List List-Id: xen-devel@lists.xenproject.org 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