From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44443 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2JtY-0007H0-4E for qemu-devel@nongnu.org; Wed, 23 Mar 2011 04:58:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2JtW-00048G-Gx for qemu-devel@nongnu.org; Wed, 23 Mar 2011 04:58:23 -0400 Received: from mail-wy0-f173.google.com ([74.125.82.173]:40229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2JtW-000489-75 for qemu-devel@nongnu.org; Wed, 23 Mar 2011 04:58:22 -0400 Received: by wyb42 with SMTP id 42so7943890wyb.4 for ; Wed, 23 Mar 2011 01:58:21 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1300839376-22520-1-git-send-email-aliguori@us.ibm.com> <1300839376-22520-2-git-send-email-aliguori@us.ibm.com> From: Roy Tam Date: Wed, 23 Mar 2011 16:58:01 +0800 Message-ID: Subject: Re: [Qemu-devel] [PATCH 01/11] Add hard build dependency on glib Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Jan Kiszka , Anthony Liguori , qemu-devel@nongnu.org, Juan Quintela 2011/3/23 Stefan Hajnoczi : > On Wed, Mar 23, 2011 at 8:19 AM, Roy Tam wrote: >> 2011/3/23 Stefan Hajnoczi : >>> On Wed, Mar 23, 2011 at 12:16 AM, Anthony Liguori = wrote: >>>> GLib is an extremely common library that has a portable thread impleme= ntation >>>> along with tons of other goodies. >>>> >>>> GLib and GObject have a fantastic amount of infrastructure we can leve= rage in >>>> QEMU including an object oriented programming infrastructure. >>>> >>>> Short term, it has a very nice thread pool implementation that we coul= d leverage >>>> in something like virtio-9p. =A0It also has a test harness implementat= ion that >>>> this series will use. >>>> >>>> Signed-off-by: Anthony Liguori >>>> --- >>>> =A0Makefile =A0 =A0 =A0 =A0| =A0 =A02 ++ >>>> =A0Makefile.objs =A0 | =A0 =A02 ++ >>>> =A0Makefile.target | =A0 =A01 + >>>> =A0configure =A0 =A0 =A0 | =A0 13 +++++++++++++ >>>> =A04 files changed, 18 insertions(+), 0 deletions(-) >>> >>> Yes, please. =A0I'd like to use glib to make simpletrace portable. >>> >>> To paraphrase the saying about non-trivial C programs and LISP interpre= ters: >>> >>> "In every cross-platform C program there is a glib." >>> >>> Stefan >>> >>> >> >> So, breaking win32 support again? > > Can you please explain the win32 issue with glib? > > Stefan > I think I have to change my words. Glib works in win32, but adding Glib to QEMU will bloat the binary size. It adds more dependency on building and the result binary. I wonder if it is a must to add it. Roy