From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ltlmv-0007uX-2t for qemu-devel@nongnu.org; Tue, 14 Apr 2009 12:47:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ltlmq-0007sj-HU for qemu-devel@nongnu.org; Tue, 14 Apr 2009 12:47:08 -0400 Received: from [199.232.76.173] (port=52999 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ltlmq-0007sg-CI for qemu-devel@nongnu.org; Tue, 14 Apr 2009 12:47:04 -0400 Received: from bsdimp.com ([199.45.160.85]:53690 helo=harmony.bsdimp.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ltlmp-0001we-I7 for qemu-devel@nongnu.org; Tue, 14 Apr 2009 12:47:03 -0400 Date: Tue, 14 Apr 2009 10:45:51 -0600 (MDT) Message-Id: <20090414.104551.723205329.imp@bsdimp.com> Subject: Re: [Qemu-devel] [PATCH] [RFC] Solaris user emulation From: "M. Warner Losh" In-Reply-To: References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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, blauwirbel@gmail.com In message: Blue Swirl writes: : Hi, : : I started to add support for (Open)Solaris user emulation. It compiles : but doesn't work yet, this is just a preview. The patch is largely : copy & paste from BSD user and there are no docs yet. : : The current blocking problem is that I don't know how to make the : qemu-i386 executable a shared ELF object which Solaris wouldn't refuse : to execute (with native ld). Without that, qemu-i386 and the target : executable occupy same memory region, leading to a crash. Any hints : are welcome. : : One problem is that Solaris headers are CDDL licensed and IIRC that : was not compatible with GPL. Using the headers is compatible with the GPL, since it falls under the source code usually delivered with the system exception (eg, it is outside the full and complete sources). Copying them into qemu would, however, be a problem because of the patent clauses in CDDL and you'd clearly no longer be able to take advantage of that exception. Warner