qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: aliguori@us.ibm.com, stefanha@linux.vnet.ibm.com,
	Stefan Hajnoczi <stefanha@gmail.com>,
	qemu-devel@nongnu.org, Eric Blake <eblake@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] [RFC] libqblock draft code v1
Date: Fri, 03 Aug 2012 15:54:24 +0800	[thread overview]
Message-ID: <501B83B0.5000000@linux.vnet.ibm.com> (raw)
In-Reply-To: <501A60E9.3000705@redhat.com>

于 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	other threads:[~2012-08-03  7:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-01  9:09 [Qemu-devel] [PATCH] [RFC] libqblock draft code v1 Wenchao Xia
2012-08-01 10:44 ` Paolo Bonzini
2012-08-02  7:57   ` Wenchao Xia
2012-08-02  8:59     ` Paolo Bonzini
2012-08-02 10:23       ` Stefan Hajnoczi
2012-08-01 12:49 ` Stefan Hajnoczi
2012-08-01 13:25   ` Eric Blake
2012-08-02 10:18     ` Stefan Hajnoczi
2012-08-02 11:11     ` Daniel P. Berrange
2012-08-02 11:13       ` Paolo Bonzini
2012-08-03  7:54         ` Wenchao Xia [this message]
2012-08-02  8:18   ` Wenchao Xia
2012-08-02 10:17     ` Stefan Hajnoczi
2012-08-02 11:08       ` Paolo Bonzini
2012-08-01 18:04 ` Blue Swirl
2012-08-02  8:32   ` Wenchao Xia
2012-08-02  9:00     ` Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=501B83B0.5000000@linux.vnet.ibm.com \
    --to=xiawenc@linux.vnet.ibm.com \
    --cc=aliguori@us.ibm.com \
    --cc=eblake@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    --cc=stefanha@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).