From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7t77-0007jo-7w for qemu-devel@nongnu.org; Tue, 10 Nov 2009 10:58:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7t72-0007iJ-2E for qemu-devel@nongnu.org; Tue, 10 Nov 2009 10:58:36 -0500 Received: from [199.232.76.173] (port=47918 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7t71-0007i9-PW for qemu-devel@nongnu.org; Tue, 10 Nov 2009 10:58:31 -0500 Received: from mx20.gnu.org ([199.232.41.8]:40042) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N7t71-0007fj-Ef for qemu-devel@nongnu.org; Tue, 10 Nov 2009 10:58:31 -0500 Received: from mail.codesourcery.com ([38.113.113.100]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N7t70-0005j1-5D for qemu-devel@nongnu.org; Tue, 10 Nov 2009 10:58:30 -0500 From: Paul Brook Subject: Re: [Qemu-devel] PATCH: Qemu user-mode - fork - exec - Date: Tue, 10 Nov 2009 15:58:26 +0000 References: <526ddcfc0910121052m21615ebdj229a9dd7587f9aa5@mail.gmail.com> In-Reply-To: <526ddcfc0910121052m21615ebdj229a9dd7587f9aa5@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200911101558.26758.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Toni On Monday 12 October 2009, Toni wrote: > Hi guys, > I found a solution for the problems with the fork and the exec under qemu > user-mode. > With the fork I enabled the NPTL and now it seems to work fine. > For the exec the problem was that it was execute natively, and so the qemu > process was killed by the exec, so I simply called the exec for a new > instance of qemu, also this seems to work fine. Let me know what do you > think: It will break horribly for shell scripts, multi-arch systems, etc. This is something the host kernel should really be taking care of. Your patch also appears to have a load of unrelated cruft. Paul