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