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.