All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bharata B Rao <bharata@linux.vnet.ibm.com>
To: qemu-devel@nongnu.org
Cc: Anand Avati <aavati@redhat.com>,
	Amar Tumballi <amarts@redhat.com>,
	Vijay Bellur <vbellur@redhat.com>
Subject: [Qemu-devel] [PATCH v3 0/2] GlusterFS support in QEMU - v3
Date: Wed, 25 Jul 2012 11:28:06 +0530	[thread overview]
Message-ID: <20120725055806.GB1392@in.ibm.com> (raw)

Hi,

This is the v3 of the patchset to support GlusterFS backend from QEMU.

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.
    - 'port' is the port number on which gluster management daemon (glusterd) is
       listening. This is optional and if not specified, QEMU will send 0 which
       will make libgfapi to use the default port.
    - 'transport' specifies the transport used to connect to glusterd. This is
      optional and if not specified, socket transport is used.
    - 'volname' is the name of the gluster volume which contains the VM image.
    - 'image' is the path to the actual VM image in the gluster volume.
    
    Eg 1: -drive file=gluster:server1:0:socket:test:/image
    Eg 2: -drive file=gluster:server1:::test:/image

As I noted during discussions over v2 post, I have gone with colon(:) based
specification. Given that this is anyway going to change with -blockdev, I
would like to go with this unless people strongly favour the URI based
specification.

Changes in v3
-------------
- New specification to expose all gluster options to QEMU user.
- Added support for bdrv_aio_cancel(), but not really sure how to test
  this.
- Many cleanups based on Stefan Hajnoczi's reveiw comments.

v2
--
http://lists.nongnu.org/archive/html/qemu-devel/2012-07/msg02718.html

v1
--
http://lists.nongnu.org/archive/html/qemu-devel/2012-06/msg01745.html

Regards,
Bharata.

             reply	other threads:[~2012-07-25  5:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-25  5:58 Bharata B Rao [this message]
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
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=20120725055806.GB1392@in.ibm.com \
    --to=bharata@linux.vnet.ibm.com \
    --cc=aavati@redhat.com \
    --cc=amarts@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.