qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] vnc port selection


From: Jamie Lokier
Subject: Re: [Qemu-devel] vnc port selection
Date: Sun, 24 Aug 2008 11:01:29 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Avi Kivity wrote:
> 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.

Agreed: races are particularly irksome.

I have the same problem in another application, where one program
allocates a fee port, but another (SSH tunnel) opens it.  It's very
annoying that the second program fails from time to time, due to the
race.

-- Jamie





reply via email to

[Prev in Thread] Current Thread [Next in Thread]