qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Chrysostomos Nanakos <cnanakos@grnet.gr>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, Chrysostomos Nanakos <cnanakos@grnet.gr>,
	stefanha@redhat.com
Subject: [Qemu-devel] [PATCH 3/3] QMP: Add support for Archipelago
Date: Wed,  4 Jun 2014 14:30:04 +0300	[thread overview]
Message-ID: <1401881404-15823-4-git-send-email-cnanakos@grnet.gr> (raw)
In-Reply-To: <1401881404-15823-1-git-send-email-cnanakos@grnet.gr>

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 <cnanakos@grnet.gr>
---
 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

  parent reply	other threads:[~2014-06-04 11:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-04 11:30 [Qemu-devel] [PATCH v3 0/3] Support Archipelago as a QEMU block backend Chrysostomos Nanakos
2014-06-04 11:30 ` [Qemu-devel] [PATCH 1/3] block: " Chrysostomos Nanakos
2014-06-04 11:30 ` [Qemu-devel] [PATCH 2/3] block/archipelago: Add support for creating images Chrysostomos Nanakos
2014-06-04 11:30 ` Chrysostomos Nanakos [this message]
2014-06-04 11:38   ` [Qemu-devel] [PATCH 3/3] QMP: Add support for Archipelago Kevin Wolf
2014-06-04 11:46     ` Chrysostomos Nanakos
2014-06-04 12:56   ` Eric Blake
2014-06-04 13:02     ` Chrysostomos Nanakos

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=1401881404-15823-4-git-send-email-cnanakos@grnet.gr \
    --to=cnanakos@grnet.gr \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).