From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CzZ35-0001o3-Mc for qemu-devel@nongnu.org; Fri, 11 Feb 2005 06:33:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CzYyZ-0000lc-T8 for qemu-devel@nongnu.org; Fri, 11 Feb 2005 06:28:45 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CzYyD-0000dA-K3 for qemu-devel@nongnu.org; Fri, 11 Feb 2005 06:28:21 -0500 Received: from [137.226.40.90] (helo=pc14.xtal.rwth-aachen.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CzYZT-000571-SU for qemu-devel@nongnu.org; Fri, 11 Feb 2005 06:02:48 -0500 Received: from [137.226.40.101] (pc42.xtal.rwth-aachen.de [137.226.40.101]) by pc14.xtal.rwth-aachen.de (8.9.3/8.9.3) with ESMTP id KAA07788 for ; Fri, 11 Feb 2005 10:35:40 +0100 Message-ID: <420C9202.3080903@xtal.rwth-aachen.de> Date: Fri, 11 Feb 2005 12:07:46 +0100 From: Jan Marten Simons MIME-Version: 1.0 Subject: Re: [Qemu-devel] Just a thought (high level API) References: <1107961744.8824.7.camel@localhost.localdomain> <420BBD21.2070705@bellard.org> <1108067564.8083.7.camel@localhost.localdomain> In-Reply-To: <1108067564.8083.7.camel@localhost.localdomain> 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 Nathaniel McCallum wrote: >I'm also curious as to your opinion on glib. I've noticed several >places in the code where qemu has reimplimented several things that >would be much simpler to just use glib for (with its wide os-independant >support). Particularly: string functions, error reporting, main loops, >memory allocation, etc. As a test, I've been going through qemu-img.c >converting it to glib. So far I've got about 100 lines less code and >I'm only a quarter of the way through the file. Do you have any >objections to a glib dependency? > >Nathaniel > > > I wouldn't mind a glibc-build-time-dependency, but a runtime dependency would be really bad imho, as right now you can start qemu from a very stripped-down system just by its binary. But I agree with Fabrice that keeping as little dependencies as possible is a good thing. Jan