Il 27/09/2012 11:03, Avi Kivity ha scritto:
> On 09/24/2012 01:11 PM, Paolo Bonzini wrote:
> > A better plan would be to incorporate this code into glib, completing
> > the extremely sparse URI support that is already there.  However, we
> > would not be able to use it anyway, because we support compiling on old
> > glib versions.
>
> If the same (or very similar) API is retained,

Yes, there is exactly one change in the API (modulo renaming) so we
could just use some #defines or wrappers.

> we could fall back on
> libxml2 when glib uri parsing is unavailable.

That's an interesting idea.  The assumption that glib wants URI parsing
is not proved, but it may work out.

Paolo

> Eventually we bump our
> minimum version requirement and drop the libxml2 dependency (or find out
> that xml has invaded our code base and we can't get rid of it).


Reply via email to