From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LA2IQ-0003hu-69 for qemu-devel@nongnu.org; Tue, 09 Dec 2008 08:06:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LA2IP-0003hW-IT for qemu-devel@nongnu.org; Tue, 09 Dec 2008 08:06:37 -0500 Received: from [199.232.76.173] (port=58031 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LA2IP-0003hT-C8 for qemu-devel@nongnu.org; Tue, 09 Dec 2008 08:06:37 -0500 Received: from rn-out-0910.google.com ([64.233.170.184]:28815) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LA2IO-0005RO-Lw for qemu-devel@nongnu.org; Tue, 09 Dec 2008 08:06:36 -0500 Received: by rn-out-0910.google.com with SMTP id 56so1552560rnw.8 for ; Tue, 09 Dec 2008 05:06:34 -0800 (PST) Message-ID: Date: Tue, 9 Dec 2008 22:06:34 +0900 From: "Jun Koi" Subject: Re: [Qemu-devel] Modular qemu? In-Reply-To: <49397D04.4060404@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3056442136ca43729c6a2aec02c038aa.squirrel@www.boonen.name> <49393B8D.40209@codemonkey.ws> <493970B9.3060807@redhat.com> <493979AB.3070308@codemonkey.ws> <49397D04.4060404@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: qemu-devel@nongnu.org On Sat, Dec 6, 2008 at 4:12 AM, 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. >> >> Practically speaking, how helpful is this? You still need to have the >> libraries present at build time > > Build time is not an issue; distros usually build with all possible options > enabled. > >> and it's arguable about how much text savings you get because there's some >> cruft added from loading the libraries themselves. > > The goal is not to save text (though that's an added benefit), but to drop > an infinite chain of dependencies. Right now, to have both desktop and > server deployments, there are two options: > > - build two different binaries with different build-time options. Distro > maintainers will hug and kiss you whenever you mention this option. > - install SDL, X11 client libraries, and their dependencies on the server. > In the future, this gets worse, with opengl libraries, DRI drivers, and > maybe even gtk2 and qt for a sane UI. Interesting! Are you aware of any project currently doing on DRI drivers?? Anh OpenGL drivers? I suppose that you want to say "DRI device model" and "OpenGL device model" for QEMU? Thanks, Jun