qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Bharata B Rao <bharata@linux.vnet.ibm.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: Amar Tumballi <amarts@redhat.com>,
	Anand Avati <aavati@redhat.com>,
	qemu-devel@nongnu.org, Vijay Bellur <vbellur@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v3 0/2] GlusterFS support in QEMU - v3
Date: Tue, 31 Jul 2012 18:08:16 +0530	[thread overview]
Message-ID: <20120731123816.GA19276@in.ibm.com> (raw)
In-Reply-To: <CAJSP0QXY5XR4QRzH67O5pBNjyo7GLmxSLrmQA=jSRya=r9=RiQ@mail.gmail.com>

On Tue, Jul 31, 2012 at 09:12:53AM +0100, Stefan Hajnoczi wrote:
> On Wed, Jul 25, 2012 at 6:58 AM, Bharata B Rao
> <bharata@linux.vnet.ibm.com> wrote:
> > Apart from cleanups, the major change in this version is to expose all
> > the gluster configuration options to QEMU user. With this, the gluster
> > specification looks like this:
> >
> > -drive file=gluster:server:[port]:[transport]:volname:image
> >
> >     - Here 'gluster' is the protocol.
> >     - 'server' specifies the server where the volume file specification for
> >       the given volume resides.
> 
> Works fine for hostnames and IPv4 addresses.  It seems like the ':'
> separator may prevent users from giving IPv6 addresses unless there is
> a way to escape ':'.

I feel its better to go the URI way than to escape ':'. I will have this
specification in v4:

gluster://server:[port]/volname/path/to/image?transport=socket

As per http://tools.ietf.org/html/rfc3986#section-3.2.2, ipv6 addresses
are specified within square brackets in a URI which makes it easy to parse
the port after :

Regards,
Bharata.

  reply	other threads:[~2012-07-31 12:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-25  5:58 [Qemu-devel] [PATCH v3 0/2] GlusterFS support in QEMU - v3 Bharata B Rao
2012-07-25  5:59 ` [Qemu-devel] [PATCH v3 1/2] qemu: Add a config option for GlusterFS as block backend Bharata B Rao
2012-07-25  6:00 ` [Qemu-devel] [PATCH v3 2/2] block: Support GlusterFS as a QEMU " Bharata B Rao
2012-07-27 18:44   ` Blue Swirl
2012-07-28  4:43     ` Bharata B Rao
2012-07-28  8:23       ` Blue Swirl
2012-07-30  4:46 ` [Qemu-devel] [PATCH v3 0/2] GlusterFS support in QEMU - v3 Bharata B Rao
2012-07-31  8:49   ` Stefan Hajnoczi
2012-07-31  8:12 ` Stefan Hajnoczi
2012-07-31 12:38   ` Bharata B Rao [this message]
2012-07-31 12:56     ` Stefan Hajnoczi
2012-07-31 13:13       ` Bharata B Rao

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=20120731123816.GA19276@in.ibm.com \
    --to=bharata@linux.vnet.ibm.com \
    --cc=aavati@redhat.com \
    --cc=amarts@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    --cc=vbellur@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).