From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrUqE-0002tQ-Jx for qemu-devel@nongnu.org; Wed, 18 Jul 2012 10:03:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrUq9-00042F-Om for qemu-devel@nongnu.org; Wed, 18 Jul 2012 10:03:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrUq9-00040R-Fe for qemu-devel@nongnu.org; Wed, 18 Jul 2012 10:02:57 -0400 Message-ID: <5006C1E7.2070407@redhat.com> Date: Wed, 18 Jul 2012 16:02:15 +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> <5003CE8B.20804@redhat.com> <500678F7.1030705@linux.vnet.ibm.com> <20120718135846.GE2294@redhat.com> In-Reply-To: <20120718135846.GE2294@redhat.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: "Daniel P. Berrange" Cc: Anthony Liguori , Stefan Hajnoczi , Michael Tokarev , qemu-devel@nongnu.org, =?UTF-8?B?TGx1w61z?= , Blue Swirl , Stefan Weil , Hannes Reinecke , Wenchao Xia Il 18/07/2012 15:58, Daniel P. Berrange ha scritto: > How is error reporting dealt with These APIs just return errno values. > , and what is the intent around > thread safety of the APIs ? I'd like to see a fully thread safe > API - multiple threads can use the same 'BlockDriverState *' > concurrently, and thread-local error reporting. This is a bit difficult to provide, since the QEMU block layer itself is not thread-safe. Another missing feature is passwords. Paolo