qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Sakshi Kaushik <sakshikaushik717@gmail.com>
To: qemu-devel@nongnu.org
Cc: Sakshi Kaushik <sakshikaushik717@gmail.com>
Subject: [PATCH] [PATCH RFC v1] Implements the Backend Program conventions for vhost-user-scsi
Date: Thu, 31 Mar 2022 00:55:36 -0500	[thread overview]
Message-ID: <20220331055536.26038-1-sakshikaushik717@gmail.com> (raw)

Signed-off-by: Sakshi Kaushik <sakshikaushik717@gmail.com>
---
 docs/interop/vhost-user.json | 31 +++++++++++++++++++++++++++++++
 docs/interop/vhost-user.rst  | 17 +++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/docs/interop/vhost-user.json b/docs/interop/vhost-user.json
index b6ade9e493..daf6a7c48e 100644
--- a/docs/interop/vhost-user.json
+++ b/docs/interop/vhost-user.json
@@ -88,6 +88,37 @@
   }
 }
 
+##
+# @VHostUserBackendSCSIFeature:
+#
+# List of vhost user "scsi" features.
+#
+# @read-only: The --read-only command line option is supported.
+# @scsi-file: The --scsi-file command line option is supported.
+#
+# Since: 5.0
+##
+{
+  'enum': 'VHostUserBackendSCSIFeature',
+  'data': [ 'read-only', 'scsi-file' ]
+}
+
+##
+# @VHostUserBackendCapabilitiesSCSI:
+#
+# Capabilities reported by vhost user "scsi" backends
+#
+# @features: list of supported features.
+#
+# Since: 5.0
+##
+{
+  'struct': 'VHostUserBackendCapabilitiesSCSI',
+  'data': {
+    'features': [ 'VHostUserBackendSCSIFeature' ]
+  }
+}
+
 ##
 # @VHostUserBackendInputFeature:
 #
diff --git a/docs/interop/vhost-user.rst b/docs/interop/vhost-user.rst
index 4dbc84fd00..6f6467ede8 100644
--- a/docs/interop/vhost-user.rst
+++ b/docs/interop/vhost-user.rst
@@ -1603,3 +1603,20 @@ Command line options:
   Enable read-only.
 
   (optional)
+
+vhost-user-scsi
+--------------
+
+Command line options:
+
+--scsi-file=PATH
+
+  Specify block device or file path.
+
+  (optional)
+
+--read-only
+
+  Enable read-only.
+
+  (optional)
-- 
2.17.1



             reply	other threads:[~2022-03-31 13:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-31  5:55 Sakshi Kaushik [this message]
2022-03-31 17:08 ` [PATCH] [PATCH RFC v1] Implements the Backend Program conventions for vhost-user-scsi Stefan Hajnoczi

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=20220331055536.26038-1-sakshikaushik717@gmail.com \
    --to=sakshikaushik717@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /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).