From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FSJ5o-0000lL-AG for qemu-devel@nongnu.org; Sat, 08 Apr 2006 15:27:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FSJ5l-0000km-V1 for qemu-devel@nongnu.org; Sat, 08 Apr 2006 15:27:31 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FSJ5l-0000kj-Rs for qemu-devel@nongnu.org; Sat, 08 Apr 2006 15:27:29 -0400 Received: from [204.127.192.84] (helo=rwcrmhc14.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FSJA1-0007pM-Il for qemu-devel@nongnu.org; Sat, 08 Apr 2006 15:31:53 -0400 Message-ID: <44380E9B.5040906@win4lin.com> Date: Sat, 08 Apr 2006 15:27:23 -0400 From: "Leonardo E. Reiter" MIME-Version: 1.0 Subject: Re: [Qemu-devel] Unified device model References: <20060408191219.GB16963@jbrown.mylinuxbox.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 Well, not completely impossible, but it would require some really ugly "glue" code. And, the glue would have to happen outside of QEMU (i.e. like in the BOCHS code), to keep C++ out of QEMU. To have a truly portable API, it should definitely have C language "bindings". I'm sure this could be added to the BOCHS implementation somehow if this is important. - Leo Reiter Johannes Schindelin wrote: > IIRC bochs does it in C++. Which makes it rather impossible to share code > :-( > > Ciao, > Dscho -- Leonardo E. Reiter Vice President of Product Development, CTO Win4Lin, Inc. Virtual Computing from Desktop to Data Center Main: +1 512 339 7979 Fax: +1 512 532 6501 http://www.win4lin.com