From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqgWv-0001Sz-Tv for qemu-devel@nongnu.org; Mon, 16 Jul 2012 04:19:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SqgWq-00078i-7k for qemu-devel@nongnu.org; Mon, 16 Jul 2012 04:19:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:28257) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqgWp-00078d-Vo for qemu-devel@nongnu.org; Mon, 16 Jul 2012 04:19:40 -0400 Message-ID: <5003CE8B.20804@redhat.com> Date: Mon, 16 Jul 2012 10:19:23 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <4FFA9C30.2070201@linux.vnet.ibm.com> <4FFAA0C3.3080703@redhat.com> <4FFBB7FB.3070303@linux.vnet.ibm.com> <4FFBD6F1.90403@redhat.com> <20120713091611.GC15503@stefanha-thinkpad.localdomain> <4FFFEF8E.5080705@redhat.com> <50000793.2020401@redhat.com> <5003CDC6.2040103@linux.vnet.ibm.com> In-Reply-To: <5003CDC6.2040103@linux.vnet.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] introduce a dynamic library to expose qemu block API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wenchao Xia Cc: Anthony Liguori , Stefan Hajnoczi , Michael Tokarev , qemu-devel@nongnu.org, =?UTF-8?B?TGx1w61z?= , Blue Swirl , Stefan Weil , Hannes Reinecke Il 16/07/2012 10:16, Wenchao Xia ha scritto: >> > Really thanks for the investigation, I paid quite sometime to dig out > which license is compatible to LGPL, this have sorted it out. > The coroutine and structure inside is quite a challenge. Coroutines are really just a small complication in the program flow if all you support is synchronous access to files (i.e. no HTTP etc.). Their usage should be completely transparent. > What about > provide the library first in nbd + sync access, and waiting for the > library employer response? If it is good to use, then replace implement > code to native qemu block layer code, change code's license, while keep > API unchanged. You can start by proposing the API. Paolo