From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L8foq-0004Zt-5S for qemu-devel@nongnu.org; Fri, 05 Dec 2008 13:54:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L8foo-0004XY-Vx for qemu-devel@nongnu.org; Fri, 05 Dec 2008 13:54:27 -0500 Received: from [199.232.76.173] (port=50401 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8foo-0004XJ-MB for qemu-devel@nongnu.org; Fri, 05 Dec 2008 13:54:26 -0500 Received: from relay01.mx.bawue.net ([193.7.176.67]:35172) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L8fon-0002Us-F8 for qemu-devel@nongnu.org; Fri, 05 Dec 2008 13:54:26 -0500 Date: Fri, 5 Dec 2008 19:54:20 +0100 From: Thiemo Seufer Subject: Re: [Qemu-devel] Modular qemu? Message-ID: <20081205185420.GA26481@networkno.de> References: <3056442136ca43729c6a2aec02c038aa.squirrel@www.boonen.name> <49393B8D.40209@codemonkey.ws> <493970B9.3060807@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <493970B9.3060807@redhat.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: qemu-devel@nongnu.org Avi Kivity wrote: > Anthony Liguori wrote: >> Plugins are not the solution though. > > What about non-plugin dlopen()? Right now building qemu (with all > options enabled) requires a large amount of libraries, hence a lot of > dependencies. For example, a server setup that will only be used with > -vnc needs to have SDL installed. This will only get worse with opengl > support. > > I'm thinking of something similar to linux kernel modules: no backward > compatible ABI, simply load-on-demand functionality that can be packaged > separately to reduce dependencies. With kvm integrated, we could even > make the cpu emulator an optional loadable module. What problem would this solve? Thiemo