[Top][All Lists]

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

Re: [Qemu-devel] [PATCH 0/4] net-bridge: rootless bridge support for qem

From: Jamie Lokier
Subject: Re: [Qemu-devel] [PATCH 0/4] net-bridge: rootless bridge support for qemu
Date: Sat, 7 Nov 2009 03:44:34 +0000
User-agent: Mutt/1.5.13 (2006-08-11)

Anthony Liguori wrote:
> Jamie Lokier wrote:
> >Avi Kivity wrote:
> >  
> >>>I know this has been discussed before, but isn't this why there are 
> >>>things like vfork()? 
> >>>      
> >>vfork() doesn't work with threads - it requires that the calling process 
> >>be halted until exec() is called.
> >>    
> >
> >On Linux (NPTL), vfork() is good for this.  It only halts the calling
> >thread.  Other threads continue to run, and when the vfork'd thread
> >called exec*(), it doesn't affect the other threads.  Of course this
> >behaviour isn't portable, but then again, neither is KVM.
> >  
> Yup, see attached program.  Here's the output which confirms this is the 
> case.

Before assuming it, you might want to verify that it's the same on all
kernels which support KVM (including backports) and all versions of
Linux pthreads which might be used.

-- Jamie

reply via email to

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