From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VALUv-00036I-Ty for qemu-devel@nongnu.org; Fri, 16 Aug 2013 10:59:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VALUk-0005bh-Nl for qemu-devel@nongnu.org; Fri, 16 Aug 2013 10:59:29 -0400 Received: from e8.ny.us.ibm.com ([32.97.182.138]:42258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VALUk-0005aX-IS for qemu-devel@nongnu.org; Fri, 16 Aug 2013 10:59:18 -0400 Received: from /spool/local by e8.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 16 Aug 2013 15:59:15 +0100 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id 9095338C803B for ; Fri, 16 Aug 2013 10:59:11 -0400 (EDT) Received: from d01av05.pok.ibm.com (d01av05.pok.ibm.com [9.56.224.195]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r7GExCb4177536 for ; Fri, 16 Aug 2013 10:59:13 -0400 Received: from d01av05.pok.ibm.com (loopback [127.0.0.1]) by d01av05.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r7GExC4k006547 for ; Fri, 16 Aug 2013 10:59:12 -0400 From: Anthony Liguori In-Reply-To: <1376662507-5212-1-git-send-email-lersek@redhat.com> References: <1376662507-5212-1-git-send-email-lersek@redhat.com> Date: Fri, 16 Aug 2013 09:59:07 -0500 Message-ID: <874napfzr8.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH 0/7] introduce BSD-licensed block driver for "raw" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laszlo Ersek , pbonzini@redhat.com, hch@lst.de, qemu-devel@nongnu.org Laszlo Ersek writes: > Paolo asked me to write such a driver based on his textual specification > alone. The first patch captures his email in full, the rest re-quotes > parts that are being implemented. > > The tree compiles at each patch. The series passes "make check-block". > > "block/raw.c" is not removed because I wanted to keep it out of my > series and out of my brain. > > Disclaimer: I couldn't care less if the raw block driver was public > domain or AGPLv3+, as long as it qualifies as free software. I'm only > trying to do what Paolo asked of me. Generally speaking, rewriting parts of QEMU to be !GPL is something I would strongly, strongly oppose. I believe that Paolo had a good reason for this though. I suppose the logic is that we want to expose a "libqemublock" that libvirt can use such that it can stop parsing qcow2 files. Now libvirt just needs LGPLv2+, right? Is the JSON mode of qemu-img info not sufficient for libvirt's purposes? Is there additional logic behind having a libqemublock? Regards, Anthony Liguori > > Laszlo Ersek (7): > add skeleton for BSD licensed "raw" BlockDriver > raw_bsd: emit debug events in bdrv_co_readv() and bdrv_co_writev() > raw_bsd: add raw_create() > raw_bsd: introduce "special members" > raw_bsd: add raw_create_options > raw_bsd: register bdrv_raw > switch raw block driver from "raw.o" to "raw_bsd.o" > > block/Makefile.objs | 2 +- > block/raw_bsd.c | 186 +++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 187 insertions(+), 1 deletions(-) > create mode 100644 block/raw_bsd.c