From 6620801f39f0cd02b30ab5ad8729c92c78ce9fd3 Mon Sep 17 00:00:00 2001 From: Micky Yun Chan Date: Mon, 9 Dec 2019 09:53:31 +0800 Subject: Implement backend program convention command for vhost-user-blk This patch is to add standard commands defined in docs/interop/vhost-user.rst For vhost-user-* program Signed-off-by: Micky Yun Chan (michiboo) Message-Id: <20191209015331.5455-1-chanmickyyun@gmail.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- docs/interop/vhost-user.json | 31 +++++++++++++++++++++++++++++++ docs/interop/vhost-user.rst | 17 +++++++++++++++++ 2 files changed, 48 insertions(+) (limited to 'docs') diff --git a/docs/interop/vhost-user.json b/docs/interop/vhost-user.json index da6aaf5..ce0ef74 100644 --- a/docs/interop/vhost-user.json +++ b/docs/interop/vhost-user.json @@ -55,6 +55,37 @@ } ## +# @VHostUserBackendBlockFeature: +# +# List of vhost user "block" features. +# +# @read-only: The --read-only command line option is supported. +# @blk-file: The --blk-file command line option is supported. +# +# Since: 5.0 +## +{ + 'enum': 'VHostUserBackendBlockFeature', + 'data': [ 'read-only', 'blk-file' ] +} + +## +# @VHostUserBackendCapabilitiesBlock: +# +# Capabilities reported by vhost user "block" backends +# +# @features: list of supported features. +# +# Since: 5.0 +## +{ + 'struct': 'VHostUserBackendCapabilitiesBlock', + 'data': { + 'features': [ 'VHostUserBackendBlockFeature' ] + } +} + +## # @VHostUserBackendInputFeature: # # List of vhost user "input" features. diff --git a/docs/interop/vhost-user.rst b/docs/interop/vhost-user.rst index 7827b71..015ac08 100644 --- a/docs/interop/vhost-user.rst +++ b/docs/interop/vhost-user.rst @@ -1376,3 +1376,20 @@ Command line options: Enable virgl rendering support. (optional) + +vhost-user-blk +-------------- + +Command line options: + +--blk-file=PATH + + Specify block device or file path. + + (optional) + +--read-only + + Enable read-only. + + (optional) -- cgit v1.1