From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FSSV7-0005MM-4M for qemu-devel@nongnu.org; Sun, 09 Apr 2006 01:30:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FSSV6-0005MA-67 for qemu-devel@nongnu.org; Sun, 09 Apr 2006 01:30:16 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FSSV6-0005M7-2k for qemu-devel@nongnu.org; Sun, 09 Apr 2006 01:30:16 -0400 Received: from [213.8.108.3] (helo=survey.co.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FSSZR-0001Df-Fb for qemu-devel@nongnu.org; Sun, 09 Apr 2006 01:34:45 -0400 Received: from gatef5455210af by fidonet.org.il (MDaemon.PRO.v7.1.1.R) with ESMTP id md50000318224.msg for ; Sun, 09 Apr 2006 07:29:29 +0200 From: "Stanislav Shwartsman" Subject: RE: [Qemu-devel] Unified device model Date: Sun, 9 Apr 2006 08:29:32 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: <44380E9B.5040906@win4lin.com> Message-Id: 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 Currently Bochs plugins APCI already begins with such C-language bindings. But inside the device is C++ based and derives from Bochs device model. It has the same log writer and debugging interface as any other Bochs module but nothing more. Could you look into the Bochs devices code and plugin code, I think you could say how much it is compatible fro QEMU and if there is something that we should consider to change ... Stanislav -----Original Message----- From: qemu-devel-bounces+stl=fidonet.org.il@nongnu.org [mailto:qemu-devel-bounces+stl=fidonet.org.il@nongnu.org] On Behalf Of Leonardo E. Reiter Sent: Saturday, April 08, 2006 9:27 PM To: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] Unified device model 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 _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel