[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 0/2] GlusterFS support in QEMU - v3
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v3 0/2] GlusterFS support in QEMU - v3 |
Date: |
Tue, 31 Jul 2012 13:56:29 +0100 |
On Tue, Jul 31, 2012 at 1:38 PM, Bharata B Rao
<address@hidden> wrote:
> 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
>> <address@hidden> 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 :
Okay. Did you check that volnames cannot contain '/'?
Stefan