Received: from eggs.gnu.org ([208.118.235.92]:47407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFlAQ-0007eR-Cb for qemu-devel@nongnu.org; Wed, 13 Mar 2013 08:52:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFkzu-0003aB-9c for qemu-devel@nongnu.org; Wed, 13 Mar 2013 08:41:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFkzt-0003ZF-U1 for qemu-devel@nongnu.org; Wed, 13 Mar 2013 08:41:34 -0400 Date: Wed, 13 Mar 2013 13:41:28 +0100 From: Kevin Wolf Message-ID: <20130313124128.GG2309@dhcp-200-207.str.redhat.com> References: <1363000996-13221-1-git-send-email-xiawenc@linux.vnet.ibm.com> <1363000996-13221-2-git-send-email-xiawenc@linux.vnet.ibm.com> <513E1934.4030908@redhat.com> <513EB6B3.9050609@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <513EB6B3.9050609@linux.vnet.ibm.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH V9 01/14] block: move bdrv_snapshot_find() to block/snapshot.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wenchao Xia Cc: stefanha@gmail.com, qemu-devel@nongnu.org, lcapitulino@redhat.com, pbonzini@redhat.com, armbru@redhat.com Am 12.03.2013 um 06:01 hat Wenchao Xia geschrieben: > =E4=BA=8E 2013-3-12 1:49, Eric Blake =E5=86=99=E9=81=93: > >On 03/11/2013 05:23 AM, Wenchao Xia wrote: > >> This patch adds block/snapshot.c and then moves the function > >>there. It also fixes small code style errors reported by check script. > >> > >>Signed-off-by: Wenchao Xia > >>--- > >> block/Makefile.objs | 1 + > >> block/snapshot.c | 37 +++++++++++++++++++++++++++++++++++= ++ > >> include/block/snapshot.h | 26 ++++++++++++++++++++++++++ > >> savevm.c | 23 +---------------------- > >> 4 files changed, 65 insertions(+), 22 deletions(-) > >> create mode 100644 block/snapshot.c > >> create mode 100644 include/block/snapshot.h > > > >>+++ b/block/snapshot.c > >>@@ -0,0 +1,37 @@ > >>+/* > >>+ * Snapshot related functions. > >>+ * > >>+ * Copyright IBM, Corp. 2013 > > > >Technically, since you are moving code from savevm.c, you should also > >preserve the copyright on that moved code: > > > > * Copyright (c) 2003-2008 Fabrice Bellard > > > >>+ * > >>+ * Authors: > >>+ * Wenchao Xia > >>+ * > >>+ * This work is licensed under the terms of the GNU LGPL, version 2 = or later. > > > >Furthermore, the code you are moving was under BSD license, so by movi= ng > >the code, you have changed its license to something more restrictive. > >Personally, I like LGPL better than BSD, but as I'm not the copyright > >holder of the original code, and neither are you, I'm not sure that > >either of us is qualified to make that change. Therefore, I'm unwilli= ng > >to add my Reviewed-by, even though the code motion itself is correct, > >without a maintainer chiming in on whether your licensing is appropria= te > >or needs an adjustment. > > > Oops, Since it belongs to block layer I hope it can be LGPL2. Do you > know how to contact Fabrice Bellard to ask for a change? Fabrice is not the only copyright owner of this file. Just copy the license as it is, changing licenses is always a nasty thing and as I'm not a lawyer I prefer to stay on the safe side. The MIT license works well enough, there's no real reason to change it. Kevin