From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StJic-0003a7-D0 for qemu-devel@nongnu.org; Mon, 23 Jul 2012 10:34:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1StJiV-0000gF-DR for qemu-devel@nongnu.org; Mon, 23 Jul 2012 10:34:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StJiV-0000g3-4I for qemu-devel@nongnu.org; Mon, 23 Jul 2012 10:34:35 -0400 Message-ID: <500D60F6.6020903@redhat.com> Date: Mon, 23 Jul 2012 08:34:30 -0600 From: Eric Blake MIME-Version: 1.0 References: <20120721082917.GC1046@in.ibm.com> <20120723085031.GN1046@in.ibm.com> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigAEF7DE8F43D6AE65DFE335DC" Subject: Re: [Qemu-devel] [RFC PATCH 0/2] GlusterFS support in QEMU - v2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , Anand Avati , Vijay Bellur , Amar Tumballi , qemu-devel@nongnu.org, Markus Armbruster , bharata@linux.vnet.ibm.com This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAEF7DE8F43D6AE65DFE335DC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 07/23/2012 03:20 AM, Stefan Hajnoczi wrote: >> >> So without the capability to pass custom options to block drivers, am = I forced >> to keep extending the file=3D with more and more options ? >> >> file=3Dgluster:transport:server:port:volname:image ? >> >> Looks ugly and not easy to make any particular option optional. If nee= ded I can >> support this from GlusterFS backend. >=20 > Kevin, Markus: Any thoughts on passing options to block drivers? > Encoding GlusterFS options into a "filename" string is pretty > cumbersome. On 07/23/2012 03:28 AM, ronnie sahlberg wrote:> Why not use > > -drive file=3Dgluster://server[:port]/volname/image At which point, options can fit into this URI scheme: -drive file=3Dgluster://server:port/volname/image?option1=3Dfoo&option2=3D= bar where anything after the ? of the URI can introduce whichever options you need. --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enigAEF7DE8F43D6AE65DFE335DC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJQDWD2AAoJEKeha0olJ0Nqmx4H/RrxM3qoTneXL8b0fIUWg7mr //v7Fi75QCJIgOKRVjswz+Le2ivB4yfSBQwvYbh2l0PaRbfQEh0RBPJ1q8dEQi8S UFp6BcN0CDLBSORAMJoi2gHZy++R4zMPraxyxSaknzfXEy6s6ZN4YOrWWQOTeaGs e3hqvbsOXlt6PSjWLWIyEra6ho7N3KI8/tB/31LXUhrZ/+6gl03lWcUF6D5Zme2O dgUa71LX4ZeXJl7zTjo1OUeYQz0AxniyxI+bvLsHJ8eEeh906gNVd5AtV7uQV0z3 IjzuaNp2SaMGIRT3+mE7Mu6Hyw0VrR2c+XVMU+TbVXbvcypUW2bcdqdigNJNUAI= =nbEK -----END PGP SIGNATURE----- --------------enigAEF7DE8F43D6AE65DFE335DC--