qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Richard W.M. Jones" <rjones@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>,
	Anthony Liguori <aliguori@us.ibm.com>,
	Anand Avati <aavati@redhat.com>,
	Vijay Bellur <vbellur@redhat.com>,
	Stefan Hajnoczi <stefanha@gmail.com>,
	Harsh Bora <harsh@linux.vnet.ibm.com>,
	Amar Tumballi <amarts@redhat.com>,
	qemu-devel@nongnu.org, Daniel Veillard <veillard@redhat.com>,
	Blue Swirl <blauwirbel@gmail.com>, Avi Kivity <avi@redhat.com>,
	Bharata B Rao <bharata@linux.vnet.ibm.com>
Subject: Re: [Qemu-devel] [PATCH v9 2/4] qemu: URI parsing library
Date: Mon, 24 Sep 2012 07:11:30 -0400 (EDT)	[thread overview]
Message-ID: <1475119461.458336.1348485090253.JavaMail.root@redhat.com> (raw)
In-Reply-To: <20120924102738.GT24071@rhmail.home.annexia.org>



----- Messaggio originale -----
> Da: "Richard W.M. Jones" <rjones@redhat.com>
> A: "Bharata B Rao" <bharata@linux.vnet.ibm.com>
> Cc: qemu-devel@nongnu.org, "Paolo Bonzini" <pbonzini@redhat.com>, "Kevin Wolf" <kwolf@redhat.com>, "Avi Kivity"
> <avi@redhat.com>, "Anthony Liguori" <aliguori@us.ibm.com>, "Stefan Hajnoczi" <stefanha@gmail.com>, "Blue Swirl"
> <blauwirbel@gmail.com>, "Anand Avati" <aavati@redhat.com>, "Vijay Bellur" <vbellur@redhat.com>, "Amar Tumballi"
> <amarts@redhat.com>, "Harsh Bora" <harsh@linux.vnet.ibm.com>, "Daniel Veillard" <veillard@redhat.com>
> Inviato: Lunedì, 24 settembre 2012 12:27:38
> Oggetto: Re: [PATCH v9 2/4] qemu: URI parsing library
> 
> 
> On Mon, Sep 24, 2012 at 02:42:02PM +0530, Bharata B Rao wrote:
> > qemu: URI parsing library
> > 
> > From: Paolo Bonzini <pbonzini@redhat.com>
> > 
> > Add a new URI parsing library to QEMU. The code has been borrowed
> > from libxml2 and libvirt.
> 
> Rather than duplicating the libxml2 code, I think it would be better
> to depend on libxml2.  While it's not ideal to add more external
> dependencies, libxml2 is very commonly available.  Also libxml2 gets
> frequent security updates and you never know when the URI code here
> might be found to contain some sort of bug / security issue.

You're preaching to the choir here, but I think there are limited
advantages in this case.  The URI parsing has seen hardly any change
in the last 2 years and is surprisingly self-contained even in libxml2:
the dependencies were limited to memory allocation hooks basically.

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.

Paolo

> This will need a change to the qemu configure script of course.
> 
> Rich.
> 
> --
> Richard Jones, Virtualization Group, Red Hat
> http://people.redhat.com/~rjones
> virt-df lists disk usage of guests without needing to install any
> software inside the virtual machine.  Supports Linux and Windows.
> http://et.redhat.com/~rjones/virt-df/
> 

  reply	other threads:[~2012-09-24 11:11 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-24  9:10 [Qemu-devel] [PATCH v9 0/4] GlusterFS support in QEMU - v9 Bharata B Rao
2012-09-24  9:10 ` [Qemu-devel] [PATCH v9 1/4] aio: Fix qemu_aio_wait() to maintain correct walking_handlers count Bharata B Rao
2012-09-24  9:12 ` [Qemu-devel] [PATCH v9 2/4] qemu: URI parsing library Bharata B Rao
2012-09-24 10:27   ` Richard W.M. Jones
2012-09-24 11:11     ` Paolo Bonzini [this message]
2012-09-27  9:03       ` Avi Kivity
2012-09-27  9:07         ` Paolo Bonzini
2012-10-02  4:59           ` Daniel Veillard
2012-10-02  6:16             ` Paolo Bonzini
2012-09-24  9:12 ` [Qemu-devel] [PATCH v9 3/4] configure: Add a config option for GlusterFS as block backend Bharata B Rao
2012-09-24  9:13 ` [Qemu-devel] [PATCH v9 4/4] block: Support GlusterFS as a QEMU " Bharata B Rao
2012-09-24  9:26   ` Paolo Bonzini
2012-09-24  9:44     ` Bharata B Rao
2012-09-26 10:00   ` Kevin Wolf
2012-09-26 10:08     ` Paolo Bonzini
2012-09-26 16:11     ` Bharata B Rao
2012-09-26 16:38       ` Paolo Bonzini
2012-09-27  6:41         ` Bharata B Rao
2012-09-27  7:19           ` Paolo Bonzini
2012-09-27  8:28             ` Bharata B Rao
2012-09-27  8:31               ` Paolo Bonzini
2012-10-03 15:50   ` [Qemu-devel] O_DIRECT on glusterfs (was Re: [PATCH v9 4/4] block: Support GlusterFS as a QEMU block backend) Paolo Bonzini
2012-10-03 17:58     ` Anand Avati
2012-10-03 18:17       ` Paolo Bonzini
2012-10-03 18:17         ` Anand Avati
2012-10-03 18:27           ` Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1475119461.458336.1348485090253.JavaMail.root@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=aavati@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=amarts@redhat.com \
    --cc=avi@redhat.com \
    --cc=bharata@linux.vnet.ibm.com \
    --cc=blauwirbel@gmail.com \
    --cc=harsh@linux.vnet.ibm.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rjones@redhat.com \
    --cc=stefanha@gmail.com \
    --cc=vbellur@redhat.com \
    --cc=veillard@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).