Received: from eggs.gnu.org ([2001:4830:134:3::10]:58884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws9Pc-0001Ow-Lc for qemu-devel@nongnu.org; Wed, 04 Jun 2014 07:31:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ws9PU-0001gO-VB for qemu-devel@nongnu.org; Wed, 04 Jun 2014 07:31:20 -0400 Received: from averel.grnet-hq.admin.grnet.gr ([195.251.29.3]:4455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws9PU-0001aA-Ol for qemu-devel@nongnu.org; Wed, 04 Jun 2014 07:31:12 -0400 From: Chrysostomos Nanakos Date: Wed, 4 Jun 2014 14:30:04 +0300 Message-Id: <1401881404-15823-4-git-send-email-cnanakos@grnet.gr> In-Reply-To: <1401881404-15823-1-git-send-email-cnanakos@grnet.gr> References: <1401881404-15823-1-git-send-email-cnanakos@grnet.gr> Subject: [Qemu-devel] [PATCH 3/3] QMP: Add support for Archipelago List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, Chrysostomos Nanakos , stefanha@redhat.com Introduce new enum BlockdevOptionsArchipelago. @volume: #Name of the Archipelago volume image @mport: #'mport' is the port number on which mapperd is listening. This is optional and if not specified, QEMU will make Archipelago to use the default port. @vport: #'vport' is the port number on which vlmcd is listening. This is optional and if not specified, QEMU will make Archipelago to use the default port. Signed-off-by: Chrysostomos Nanakos --- qapi-schema.json | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 7bc33ea..eef4a11 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -931,7 +931,7 @@ # 0.14.0 this can be: 'blkdebug', 'bochs', 'cloop', 'cow', 'dmg', # 'file', 'file', 'ftp', 'ftps', 'host_cdrom', 'host_device', # 'host_floppy', 'http', 'https', 'nbd', 'parallels', 'qcow', -# 'qcow2', 'raw', 'tftp', 'vdi', 'vmdk', 'vpc', 'vvfat' +# 'qcow2', 'raw', 'tftp', 'vdi', 'vmdk', 'vpc', 'vvfat', 'archipelago' # # @backing_file: #optional the name of the backing file (for copy-on-write) # @@ -4317,7 +4317,8 @@ 'data': [ 'file', 'host_device', 'host_cdrom', 'host_floppy', 'http', 'https', 'ftp', 'ftps', 'tftp', 'vvfat', 'blkdebug', 'blkverify', 'bochs', 'cloop', 'cow', 'dmg', 'parallels', 'qcow', - 'qcow2', 'qed', 'raw', 'vdi', 'vhdx', 'vmdk', 'vpc', 'quorum' ] } + 'qcow2', 'qed', 'raw', 'vdi', 'vhdx', 'vmdk', 'vpc', 'quorum', + 'archipelago' ] } ## # @BlockdevOptionsBase @@ -4444,6 +4445,31 @@ '*pass-discard-snapshot': 'bool', '*pass-discard-other': 'bool' } } + +## +# @BlockdevOptionsArchipelago +# +# Driver specific block device options for Archipelago. +# +# @volume: #Name of the Archipelago volume image +# +# +# @mport: #'mport' is the port number on which mapperd is +# listening. This is optional +# and if not specified, QEMU will make Archipelago to +# use the default port. +# +# @vport: #'vport' is the port number on which vlmcd is +# listening. This is optional +# and if not specified, QEMU will make Archipelago to +# use the default port. +# Since: 2.0 +## +{ 'type': 'BlockdevOptionsArchipelago', + 'data': { 'volume': 'str', + '*mport': 'int', + '*vport': 'int' } } + ## # @BlkdebugEvent # @@ -4616,6 +4642,7 @@ 'vhdx': 'BlockdevOptionsGenericFormat', 'vmdk': 'BlockdevOptionsGenericCOWFormat', 'vpc': 'BlockdevOptionsGenericFormat', + 'archipelago': 'BlockdevOptionsArchipelago', 'quorum': 'BlockdevOptionsQuorum' } } -- 1.7.10.4