From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEyW3-0005UV-6y for qemu-devel@nongnu.org; Fri, 21 Sep 2012 04:23:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEyW2-000400-7R for qemu-devel@nongnu.org; Fri, 21 Sep 2012 04:23:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEyW1-0003zw-V2 for qemu-devel@nongnu.org; Fri, 21 Sep 2012 04:23:14 -0400 Message-ID: <505C23EA.5020807@redhat.com> Date: Fri, 21 Sep 2012 10:23:06 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <20120917152149.GB6879@in.ibm.com> <20120917152620.GG6879@in.ibm.com> <50587ED6.9040504@redhat.com> <20120920064114.GD5873@in.ibm.com> <505ACB62.7020409@redhat.com> <505AD1D1.70604@redhat.com> <20120920091214.GE5873@in.ibm.com> <505AE340.9070306@redhat.com> <505B3188.9030100@redhat.com> <20120921035037.GA2362@in.ibm.com> In-Reply-To: <20120921035037.GA2362@in.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v7 5/5] 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 , Vijay Bellur , Stefan Hajnoczi , Amar Tumballi , qemu-devel@nongnu.org, Markus Armbruster , Blue Swirl , Avi Kivity Il 21/09/2012 05:50, Bharata B Rao ha scritto: >> > Just shooting around a possibility: why reinvent the wheel poorly if we >> > can use a full-blown URI parsing library? The libxml2 one is very good >> > and easy to use. >> > >> > It is also pretty much self-contained and has hardly seen a commit in 3 >> > years, so we can even make it completely self-contained and keep it in >> > tree. See attachment, which also includes some functions taken from >> > libvirt to parse query parameters. >> > >> > (I know this is controversial and would rather add a build dependency, >> > but at the same time it is tempting not to). > It would be nice to have such URI parsing capability in QEMU. This would > make it very easy to parse gluster URI. Feel free to take the two attached files in v8. Paolo