From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ISImR-0001kK-38 for qemu-devel@nongnu.org; Mon, 03 Sep 2007 16:44:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ISImQ-0001jx-Bg for qemu-devel@nongnu.org; Mon, 03 Sep 2007 16:44:18 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISImQ-0001jo-4t for qemu-devel@nongnu.org; Mon, 03 Sep 2007 16:44:18 -0400 Received: from wr-out-0506.google.com ([64.233.184.224]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ISImP-0007sf-GJ for qemu-devel@nongnu.org; Mon, 03 Sep 2007 16:44:17 -0400 Received: by wr-out-0506.google.com with SMTP id c38so1403473wra for ; Mon, 03 Sep 2007 13:44:15 -0700 (PDT) Subject: Re: [Qemu-devel] [PATCH] Patches from PyQemu project From: Anthony Liguori In-Reply-To: References: <1aa37d910709020650v7c491985r761886db64435ac0@mail.gmail.com> Content-Type: text/plain Date: Mon, 03 Sep 2007 15:44:13 -0500 Message-Id: <1188852253.10151.3.camel@squirrel> Mime-Version: 1.0 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 Cc: maria.zabolotnaya@gmail.com On Mon, 2007-09-03 at 18:41 +0300, Blue Swirl wrote: > On 9/2/07, Maria Zabolotnaya wrote: > > 2-qemu-mplugin.patch > > Add -mplugin switch to allow loading of shared library and registering a > > machine declared in it. > > Sorry to ruin your GSoC project, but the plugin system was discussed > last year, please see this thread: > http://thread.gmane.org/gmane.comp.emulators.qemu/14341/focus=14473 I've always agreed that allowing plugins was not a good idea. However, I had a different thought recently. While I don't think there's much of a reason to allow plugins for QEMU, it would be interesting to make some of QEMU's device emulation into more a of a library that could be used by other programs. With things like KVM making it relatively simple to do CPU emulation, if QEMU's device emulation was available as a library (even a GPL library), it would be pretty easy to do interesting things without forking QEMU which is what everyone seems to be doing these days. My initial thought is to make the libraries at the individual device level. Regards, Anthony Liguori > > 4-qemu-no-statics.patch > > Remove static declaration from some QEMU symbols, so they were exported from shared > > library. > > I don't think this API is worth supporting in the future. > >