From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrwB8-0001XP-Ar for qemu-devel@nongnu.org; Thu, 09 Apr 2009 11:28:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrwB3-0001Sn-Ib for qemu-devel@nongnu.org; Thu, 09 Apr 2009 11:28:33 -0400 Received: from [199.232.76.173] (port=35950 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrwB3-0001SV-3P for qemu-devel@nongnu.org; Thu, 09 Apr 2009 11:28:29 -0400 Received: from verein.lst.de ([213.95.11.210]:58567) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1LrwB2-0008FF-Hj for qemu-devel@nongnu.org; Thu, 09 Apr 2009 11:28:28 -0400 Date: Thu, 9 Apr 2009 17:28:26 +0200 From: Christoph Hellwig Subject: Re: [Qemu-devel] [PATCH] qemu-io: Fix handling of bdrv_is_allocated() return value Message-ID: <20090409152826.GA22442@lst.de> References: <1239282327-1039-1-git-send-email-kwolf@redhat.com> <20090409132629.GA17531@lst.de> <49DDFB3E.1060309@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49DDFB3E.1060309@redhat.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Christoph Hellwig , qemu-devel@nongnu.org On Thu, Apr 09, 2009 at 03:42:22PM +0200, Kevin Wolf wrote: > Maybe another patch to change that and bring the error message back > again on *pnum == 0? Ok, let's put this one in first. As for dealing with errors, maybe we should change it to allow it to return a negative error message for errors?