qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 01/11] Add hard build dependency on glib


From: Roy Tam
Subject: Re: [Qemu-devel] [PATCH 01/11] Add hard build dependency on glib
Date: Wed, 23 Mar 2011 16:58:01 +0800

2011/3/23 Stefan Hajnoczi <address@hidden>:
> On Wed, Mar 23, 2011 at 8:19 AM, Roy Tam <address@hidden> wrote:
>> 2011/3/23 Stefan Hajnoczi <address@hidden>:
>>> On Wed, Mar 23, 2011 at 12:16 AM, Anthony Liguori <address@hidden> wrote:
>>>> GLib is an extremely common library that has a portable thread 
>>>> implementation
>>>> along with tons of other goodies.
>>>>
>>>> GLib and GObject have a fantastic amount of infrastructure we can leverage 
>>>> in
>>>> QEMU including an object oriented programming infrastructure.
>>>>
>>>> Short term, it has a very nice thread pool implementation that we could 
>>>> leverage
>>>> in something like virtio-9p.  It also has a test harness implementation 
>>>> that
>>>> this series will use.
>>>>
>>>> Signed-off-by: Anthony Liguori <address@hidden>
>>>> ---
>>>>  Makefile        |    2 ++
>>>>  Makefile.objs   |    2 ++
>>>>  Makefile.target |    1 +
>>>>  configure       |   13 +++++++++++++
>>>>  4 files changed, 18 insertions(+), 0 deletions(-)
>>>
>>> Yes, please.  I'd like to use glib to make simpletrace portable.
>>>
>>> To paraphrase the saying about non-trivial C programs and LISP interpreters:
>>>
>>> "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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]