[Top][All Lists]
[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
[Qemu-devel] [PATCH 08/11] fw_cfg: make sure all VMState fields are unique., Anthony Liguori, 2011/03/22
[Qemu-devel] [PATCH 06/11] fdc: fix migration of non-ISA fdc devices, Anthony Liguori, 2011/03/22
[Qemu-devel] [PATCH 07/11] eeprom93xx: Use the new hack macro to avoid duplicate field names, Anthony Liguori, 2011/03/22
[Qemu-devel] [PATCH 02/11] vmstate: register all VMStateDescriptions, Anthony Liguori, 2011/03/22