2011/3/23 Stefan Hajnoczi <stefa...@gmail.com>: > On Wed, Mar 23, 2011 at 8:19 AM, Roy Tam <roy...@gmail.com> wrote: >> 2011/3/23 Stefan Hajnoczi <stefa...@gmail.com>: >>> On Wed, Mar 23, 2011 at 12:16 AM, Anthony Liguori <aligu...@us.ibm.com> >>> 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 <aligu...@us.ibm.com> >>>> --- >>>> 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