于 2012-8-2 19:13, Paolo Bonzini 写道:
Il 02/08/2012 13:11, Daniel P. Berrange ha scritto:
Please include GPLv2+ license headers in new source files you create.
See existing code like include/qemu/object.h for the license header
text.

Actually, LGPLv2+ (or compatible, like BSD), if you plan on making this
a reusable library.  GPLv2+ is too strict for libvirt to use directly.
NB, i don't see libvirt being able to use this library regardless
of license, due to its reliance on glib + abort-on-OOM behaviour

Regarding glib, perhaps we could provide a small wrapper with the few
functions we actually use.

   That is what I expect, replace g_malloc and g_free in
the library, and reports OOM. This may changes some code in qemu block
layer.

Paolo



--
Best Regards

Wenchao Xia


Reply via email to