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

Reply via email to