[Virtio-fs] [PATCH 2/4] virtiofsd: add --print-capabilities option

Stefan Hajnoczi stefanha at redhat.com
Wed Sep 4 15:51:21 UTC 2019


On Tue, Sep 03, 2019 at 06:26:44PM +0100, Dr. David Alan Gilbert wrote:
> * Stefan Hajnoczi (stefanha at redhat.com) wrote:
> > Add the --print-capabilities option as per vhost-user.rst "Backend
> > programs conventions".  Currently there are no advertised features.
> > 
> > Signed-off-by: Stefan Hajnoczi <stefanha at redhat.com>
> 
> That looks OK to me, but can someone who understands the json
> requirement explain what says whether a 'features' entry is optional?

I have defined a VHostUserBackendType ('fs') but no
VHostUserBackendCapabilities union field.

I guess this is allowed since many other VIRTIO device types are also
defined without a VHostUserBackendCapabilities union field (only 'gpu'
and 'input' have one).

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virtio-fs/attachments/20190904/398b65b8/attachment.sig>


More information about the Virtio-fs mailing list