From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEuEP-00029L-9G for qemu-devel@nongnu.org; Thu, 20 Sep 2012 23:48:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEuEJ-0000QV-Iw for qemu-devel@nongnu.org; Thu, 20 Sep 2012 23:48:45 -0400 Received: from e28smtp09.in.ibm.com ([122.248.162.9]:36867) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEuEI-0000QQ-Vl for qemu-devel@nongnu.org; Thu, 20 Sep 2012 23:48:39 -0400 Received: from /spool/local by e28smtp09.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 21 Sep 2012 09:18:33 +0530 Received: from d28av05.in.ibm.com (d28av05.in.ibm.com [9.184.220.67]) by d28relay01.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q8L3mS2339845970 for ; Fri, 21 Sep 2012 09:18:30 +0530 Received: from d28av05.in.ibm.com (loopback [127.0.0.1]) by d28av05.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q8L3mR04018463 for ; Fri, 21 Sep 2012 13:48:27 +1000 Date: Fri, 21 Sep 2012 09:20:37 +0530 From: Bharata B Rao Message-ID: <20120921035037.GA2362@in.ibm.com> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <505B3188.9030100@redhat.com> Subject: Re: [Qemu-devel] [PATCH v7 5/5] block: Support GlusterFS as a QEMU block backend. Reply-To: bharata@linux.vnet.ibm.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Kevin Wolf , Anthony Liguori , Anand Avati , Vijay Bellur , Stefan Hajnoczi , Amar Tumballi , qemu-devel@nongnu.org, Markus Armbruster , Blue Swirl , Avi Kivity On Thu, Sep 20, 2012 at 05:08:56PM +0200, Paolo Bonzini wrote: > > 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. Regards, Bharata.