qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] clone syscall fix


From: Thiemo Seufer
Subject: Re: [Qemu-devel] [PATCH] clone syscall fix
Date: Sat, 31 Mar 2007 20:21:04 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Stuart Anderson wrote:
> 
> Even though clone() and fork() are related, they don't seem to be close
> enough to allow a single routine to be used to implement both. With this
> patch, the LTP tests for clone now pass.

But it still does the same, assuming VM_CLONE is set, except for passing
additional arguments to the host call. Passing untranslated regs looks
like a bug to me, I'm unsure about the tls_val.

> It may be possible to fold this back into do_fork(), but this just seemed to
> be a little bit more straightforward.

Since Linux's fork() is just a specialcase of clone() this should be
done eventually.


Thiemo




reply via email to

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