From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBjBV-0003PR-9X for qemu-devel@nongnu.org; Wed, 12 Sep 2012 05:24:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBjBN-0000mS-6C for qemu-devel@nongnu.org; Wed, 12 Sep 2012 05:24:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBjBM-0000mO-UC for qemu-devel@nongnu.org; Wed, 12 Sep 2012 05:24:29 -0400 Message-ID: <505054C3.10207@redhat.com> Date: Wed, 12 Sep 2012 11:24:19 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <20120814043801.GB24944@in.ibm.com> <502A0C66.3060107@redhat.com> <20120814093430.GE24944@in.ibm.com> <502A2140.9050703@redhat.com> <50485EF0.70505@redhat.com> <20120906154004.GB20421@in.ibm.com> <20120906154717.GI3077@redhat.com> <20120907032123.GC20421@in.ibm.com> <5049C014.8010305@redhat.com> <5049C526.20901@redhat.com> <20120912092210.GF13500@in.ibm.com> In-Reply-To: <20120912092210.GF13500@in.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v6 2/2] block: Support GlusterFS as a QEMU block backend List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: bharata@linux.vnet.ibm.com Cc: Kevin Wolf , Anthony Liguori , Anand Avati , Stefan Hajnoczi , Vijay Bellur , Amar Tumballi , qemu-devel@nongnu.org, Blue Swirl , Avi Kivity Il 12/09/2012 11:22, Bharata B Rao ha scritto: > FYI, bdrv_find_protocol() fails for protocols like this. It detects the protocol > as "gluster+tcp" and compares it with drv->protocol_name (which is only > "gluster"). > > I guess I will have to fix bdrv_find_protocol() to handle the '+' within > protocol string correctly. Yes, or you can declare separate protocols for each supported transport (there are just 2 or 3, right?). Paolo