qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] [PATCH RFC v1] Implements the Backend Program conventions for vh


From: Sakshi Kaushik
Subject: [PATCH] [PATCH RFC v1] Implements the Backend Program conventions for vhost-user-scsi
Date: Thu, 31 Mar 2022 00:55:36 -0500

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 via email to

[Prev in Thread] Current Thread [Next in Thread]