From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Stuad-0002Yg-KO for qemu-devel@nongnu.org; Wed, 25 Jul 2012 01:56:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Stuac-0002NI-H4 for qemu-devel@nongnu.org; Wed, 25 Jul 2012 01:56:55 -0400 Received: from e28smtp07.in.ibm.com ([122.248.162.7]:59469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Stuab-0002Md-7u for qemu-devel@nongnu.org; Wed, 25 Jul 2012 01:56:54 -0400 Received: from /spool/local by e28smtp07.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 25 Jul 2012 11:26:48 +0530 Received: from d28av05.in.ibm.com (d28av05.in.ibm.com [9.184.220.67]) by d28relay02.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q6P5uj6Y23396382 for ; Wed, 25 Jul 2012 11:26:45 +0530 Received: from d28av05.in.ibm.com (loopback [127.0.0.1]) by d28av05.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q6P5uiEr018624 for ; Wed, 25 Jul 2012 15:56:44 +1000 Date: Wed, 25 Jul 2012 11:28:06 +0530 From: Bharata B Rao Message-ID: <20120725055806.GB1392@in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH v3 0/2] GlusterFS support in QEMU - v3 Reply-To: bharata@linux.vnet.ibm.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anand Avati , Amar Tumballi , Vijay Bellur 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.