qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v9 2/4] qemu: URI parsing library


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v9 2/4] qemu: URI parsing library
Date: Thu, 27 Sep 2012 11:07:49 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1

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

[Prev in Thread] Current Thread [Next in Thread]