Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYQrV-0001uT-4G for qemu-devel@nongnu.org; Wed, 27 Aug 2008 15:39:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYQrS-0001u1-Jf for qemu-devel@nongnu.org; Wed, 27 Aug 2008 15:39:23 -0400 Received: from [199.232.76.173] (port=41510 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYQrS-0001tx-Ec for qemu-devel@nongnu.org; Wed, 27 Aug 2008 15:39:22 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:34282) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KYQrS-0004eK-7T for qemu-devel@nongnu.org; Wed, 27 Aug 2008 15:39:22 -0400 Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate01.web.de (Postfix) with ESMTP id 52706EC98533 for ; Wed, 27 Aug 2008 21:39:07 +0200 (CEST) Received: from [91.18.95.135] (helo=[10.0.1.1]) by smtp08.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.109 #226) id 1KYQrD-00077T-00 for qemu-devel@nongnu.org; Wed, 27 Aug 2008 21:39:07 +0200 Message-Id: <72152057-E96E-4331-8483-062D241ED8DD@web.de> From: =?ISO-8859-1?Q?Andreas_F=E4rber?= In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: [Qemu-devel] [PATCH, RFC] BSD user emulator Date: Wed, 27 Aug 2008 21:38:45 +0200 References: Sender: andreas.faerber@web.de Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, Am 25.08.2008 um 20:45 schrieb Blue Swirl: > This is a preliminary implementation of BSD user emulator. Some files > inside bsd-user contain a lot of unwanted cruft copied from linux-user > and ldscript is not used. But it can already run a handcrafted Sparc64 > helloworld file (on OpenBSD/Sparc64 host) [...] > I think in BSD (at least OpenBSD), system call numbers, system call > parameters, ioctls, and signal numbers are shared across > architectures, maybe even between *BSDs. If it's true, it should make > the emulator much simpler than Linux one. Recently I had investigated the idea of a Haiku user emulator. Looking at your patch, I see a lot of similarities with what I saw in the linux-user dir, but your patch is not an svn diff and marks all files as fully new against /dev/null, so it's hard to spot the actual differences to linux-user... In light of getting more userland emulations, do you see possibilities to move shared stuff to a new "user" dir rather than copying them to each *-user dir? The ELF loading for instance? Andreas